diff options
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -257,6 +257,8 @@ | |||
257 | source = pkgs.writeScript "notify-gkleen" '' | 257 | source = pkgs.writeScript "notify-gkleen" '' |
258 | #!${pkgs.zsh}/bin/zsh | 258 | #!${pkgs.zsh}/bin/zsh |
259 | 259 | ||
260 | trap "exit 0" EXIT | ||
261 | |||
260 | DBUS_ADDRESS=$(grep "DBUS_SESSION_BUS_ADDRESS=" /home/gkleen/.dbus/session-bus/${"*"} | cut -d "=" -f 2-) | 262 | DBUS_ADDRESS=$(grep "DBUS_SESSION_BUS_ADDRESS=" /home/gkleen/.dbus/session-bus/${"*"} | cut -d "=" -f 2-) |
261 | exec env DBUS_SESSION_BUS_ADDRESS=''${DBUS_ADDRESS} ${pkgs.libnotify}/bin/notify-send ''${(q)@} | 263 | exec env DBUS_SESSION_BUS_ADDRESS=''${DBUS_ADDRESS} ${pkgs.libnotify}/bin/notify-send ''${(q)@} |
262 | ''; | 264 | ''; |