summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 7ab96e0c..84c83793 100644
--- a/hel.nix
+++ b/hel.nix
@@ -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 '';