feat: a lot of stuff
This commit is contained in:
parent
e6a98be608
commit
2a9cfe768f
11 changed files with 70 additions and 18 deletions
20
users/gandalf/modules/scripts/pomodoro.nix
Normal file
20
users/gandalf/modules/scripts/pomodoro.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs }:
|
||||
let
|
||||
pootis = ./pootis.m4a;
|
||||
in
|
||||
[
|
||||
(pkgs.writeShellScriptBin
|
||||
"pomostart"
|
||||
''
|
||||
clear
|
||||
${pkgs.openpomodoro-cli}/bin/openpomodoro-cli start --wait $@
|
||||
while ${pkgs.mpv}/bin/mpv ${pootis} > /dev/null 2>&1; do :; done
|
||||
'')
|
||||
(pkgs.writeShellScriptBin
|
||||
"pomobreak"
|
||||
''
|
||||
clear
|
||||
${pkgs.openpomodoro-cli}/bin/openpomodoro-cli break --wait $@
|
||||
while ${pkgs.mpv}/bin/mpv ${pootis} > /dev/null 2>&1; do :; done
|
||||
'')
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue