diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/notify-user.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix index 99c6d8c1..16166f50 100644 --- a/custom/notify-user.nix +++ b/custom/notify-user.nix | |||
@@ -30,8 +30,8 @@ stdenv.mkDerivation { | |||
30 | lines <- lines <$> getContents | 30 | lines <- lines <$> getContents |
31 | case lines of | 31 | case lines of |
32 | [] -> exitWith ExitSuccess | 32 | [] -> exitWith ExitSuccess |
33 | ((trim -> summary):(trim . unlines -> contents)) -> do | 33 | ((trim -> app):(trim -> summary):(trim . unlines -> contents)) -> do |
34 | Notify.display_ $ Notify.appName "notify-${user}" <> Notify.summary summary <> Notify.body contents | 34 | Notify.display_ $ Notify.appName app <> Notify.summary summary <> Notify.body contents |
35 | where | 35 | where |
36 | trim = dropWhileEnd isSpace . dropWhile isSpace | 36 | trim = dropWhileEnd isSpace . dropWhile isSpace |
37 | unQuote ('\''':xs) = init xs | 37 | unQuote ('\''':xs) = init xs |