diff options
| -rw-r--r-- | custom/notify-user.nix | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix index 623c78bf..016981d4 100644 --- a/custom/notify-user.nix +++ b/custom/notify-user.nix | |||
| @@ -29,9 +29,6 @@ stdenv.mkDerivation { | |||
| 29 | lines <- lines <$> getContents | 29 | lines <- lines <$> getContents |
| 30 | case lines of | 30 | case lines of |
| 31 | [] -> exitWith ExitSuccess | 31 | [] -> exitWith ExitSuccess |
| 32 | # ((trim -> summary):(trim . unlines -> contents)) -> do | ||
| 33 | # ph <- spawnProcess "${libnotify}/bin/notify-send" =<< (++ [summary, contents]) <$> getArgs | ||
| 34 | # void $ waitForProcess ph | ||
| 35 | ((trim -> summary):(trim . unlines -> contents)) -> do | 32 | ((trim -> summary):(trim . unlines -> contents)) -> do |
| 36 | Notify.display_ $ Notify.appName "notify-${user}" <> Notify.summary summary <> Notify.body contents | 33 | Notify.display_ $ Notify.appName "notify-${user}" <> Notify.summary summary <> Notify.body contents |
| 37 | where | 34 | where |
