From a4b608cc746b9c3a575d549262d7ab0e0e8a0116 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 21 Jul 2016 19:59:38 +0200 Subject: always exit with code 0 --- hel.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hel.nix b/hel.nix index 7ab96e0c..84c83793 100644 --- a/hel.nix +++ b/hel.nix @@ -257,6 +257,8 @@ source = pkgs.writeScript "notify-gkleen" '' #!${pkgs.zsh}/bin/zsh + trap "exit 0" EXIT + DBUS_ADDRESS=$(grep "DBUS_SESSION_BUS_ADDRESS=" /home/gkleen/.dbus/session-bus/${"*"} | cut -d "=" -f 2-) exec env DBUS_SESSION_BUS_ADDRESS=''${DBUS_ADDRESS} ${pkgs.libnotify}/bin/notify-send ''${(q)@} ''; -- cgit v1.2.3