summaryrefslogtreecommitdiff
path: root/custom/notify-user.nix
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:28:01 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:28:01 +0200
commitf4eaa24bb1e840f84463046ab5f00fc01ded8663 (patch)
tree0f7fdbf9d873f02c3f3fd02ea255225eecf71b95 /custom/notify-user.nix
parent57d7964d395dfb29c2ed4305e64b6907f2de90eb (diff)
downloadnixos-f4eaa24bb1e840f84463046ab5f00fc01ded8663.tar
nixos-f4eaa24bb1e840f84463046ab5f00fc01ded8663.tar.gz
nixos-f4eaa24bb1e840f84463046ab5f00fc01ded8663.tar.bz2
nixos-f4eaa24bb1e840f84463046ab5f00fc01ded8663.tar.xz
nixos-f4eaa24bb1e840f84463046ab5f00fc01ded8663.zip
trim unused code
Diffstat (limited to 'custom/notify-user.nix')
-rw-r--r--custom/notify-user.nix3
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