summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-21 16:54:04 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-21 16:54:04 +0200
commit5c0454f05e4e13d227feff712932ae2b4c22677d (patch)
tree83a0a220a687517c49de3c8abd6bbd8e7df325fb
parentb1469f00d0e1ee3473ee1170919cb4d32e14865e (diff)
downloadnixos-5c0454f05e4e13d227feff712932ae2b4c22677d.tar
nixos-5c0454f05e4e13d227feff712932ae2b4c22677d.tar.gz
nixos-5c0454f05e4e13d227feff712932ae2b4c22677d.tar.bz2
nixos-5c0454f05e4e13d227feff712932ae2b4c22677d.tar.xz
nixos-5c0454f05e4e13d227feff712932ae2b4c22677d.zip
syntax
-rw-r--r--hel.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/hel.nix b/hel.nix
index faacd3c4..1e6a8c99 100644
--- a/hel.nix
+++ b/hel.nix
@@ -254,15 +254,12 @@
254 program = "notify-gkleen"; 254 program = "notify-gkleen";
255 setgid = true; 255 setgid = true;
256 setuid = true; 256 setuid = true;
257 source = pkgs.writeScript { 257 source = pkgs.writeScript "notify-gkleen" ''
258 name = "notify-gkleen"; 258 #!${pkgs.zsh}/bin/zsh
259 text = '' 259
260 #!${pkgs.zsh}/bin/zsh 260 DBUS_ADDRESS=`grep "DBUS_SESSION_BUS_ADDRESS=" /home/gkleen/.dbus/session-bus/${"*"}-0 | cut -d "=" -f 2-`
261 261 exec env DBUS_SESSION_BUS_ADDRESS=''${DBUS_ADDRESS} ${pkgs.libnotify}/notify-send ''${(qq)@}
262 DBUS_ADDRESS=`grep "DBUS_SESSION_BUS_ADDRESS=" /home/gkleen/.dbus/session-bus/${"*"}-0 | cut -d "=" -f 2-` 262 '';
263 exec env DBUS_SESSION_BUS_ADDRESS=''${DBUS_ADDRESS} ${pkgs.libnotify}/notify-send ''${(qq)@}
264 '';
265 };
266 } 263 }
267 ]; 264 ];
268 }; 265 };