mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-23 13:44:42 +01:00
add command to find out when next the event is
This commit is contained in:
parent
f07c54346b
commit
2582b3796e
|
@ -879,6 +879,16 @@ def typed [
|
||||||
mprocs --names Editor,Viewer,Notify $"hx '($name).typ'" $"while true; do mupdf-x11 '($name).pdf' && break; done" $"while inotifywait -e modify '($name).pdf' ; do pkill -HUP mupdf; done"
|
mprocs --names Editor,Viewer,Notify $"hx '($name).typ'" $"while true; do mupdf-x11 '($name).pdf' && break; done" $"while inotifywait -e modify '($name).pdf' ; do pkill -HUP mupdf; done"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def nev [ unit = day ] {
|
||||||
|
( ( open Docs/dates.csv
|
||||||
|
| update datetime {|it| $it.datetime | into datetime }
|
||||||
|
| first
|
||||||
|
).datetime - (date now)
|
||||||
|
)
|
||||||
|
| into duration
|
||||||
|
| format duration $unit
|
||||||
|
}
|
||||||
|
|
||||||
alias gnix = cd ~/nix-configs;
|
alias gnix = cd ~/nix-configs;
|
||||||
alias grepo = cd ~/Documents/repos;
|
alias grepo = cd ~/Documents/repos;
|
||||||
alias wh = wormhole-rs;
|
alias wh = wormhole-rs;
|
||||||
|
|
Loading…
Reference in a new issue