diff options
-rw-r--r-- | users/gkleen@hel.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/gkleen@hel.nix b/users/gkleen@hel.nix index bd96a9fd..aff24e15 100644 --- a/users/gkleen@hel.nix +++ b/users/gkleen@hel.nix | |||
@@ -27,6 +27,15 @@ | |||
27 | ln -s $out/bin/gpg2 $out/bin/gpg | 27 | ln -s $out/bin/gpg2 $out/bin/gpg |
28 | ''; | 28 | ''; |
29 | }); | 29 | }); |
30 | dunst-suspend = pkgs.writeScriptBin "dunst-suspend" '' | ||
31 | #!${pkgs.stdenv.shell} | ||
32 | |||
33 | export PATH=${pkgs.psmisc}/bin:$PATH | ||
34 | |||
35 | killall -s USR1 -u "$(whoami)" -- dunst | ||
36 | $@ | ||
37 | killall -s USR2 -u "$(whoami)" -- dunst | ||
38 | ''; | ||
30 | } // (import ../utils/nix/default.nix) {}; | 39 | } // (import ../utils/nix/default.nix) {}; |
31 | 40 | ||
32 | allowUnfree = true; | 41 | allowUnfree = true; |