From df63bed0133c2d5d380363cd124567e9d2fb430d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 11 Aug 2020 10:53:59 +0200 Subject: [PATCH] fix(i3status-rust): remove setsid wrappers --- dot/i3status-rust.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dot/i3status-rust.nix b/dot/i3status-rust.nix index a189e79..deecb0c 100644 --- a/dot/i3status-rust.nix +++ b/dot/i3status-rust.nix @@ -91,11 +91,11 @@ in { command = pkgs.writers.writeDash "rss-new" '' ${pkgs.newsboat}/bin/newsboat --execute=print-unread | ${pkgs.gawk}/bin/awk '{ print "📰 " $1 }' ''; - on_click = setsid (pkgs.writers.writeDash "rss-update" '' + on_click = pkgs.writers.writeDash "rss-update" '' ${pkgs.libnotify}/bin/notify-send --app-name=" Newsboat" "Updating feeds." \ && ${pkgs.newsboat}/bin/newsboat --execute=reload \ && ${pkgs.libnotify}/bin/notify-send --app-name=" Newsboat" "Feeds updated." - ''); + ''; } { block = "custom"; @@ -108,11 +108,11 @@ in { echo "$new_mail" done | paste --serial --delimiters=" " - ''; - on_click = setsid (pkgs.writers.writeDash "mail-update" '' + on_click = pkgs.writers.writeDash "mail-update" '' ${pkgs.libnotify}/bin/notify-send --app-name="📧 MBSync" "Updating email." \ && ${pkgs.isync}/bin/mbsync --all \ && ${pkgs.libnotify}/bin/notify-send --app-name="📧 MBSync" "Email updated." - ''); + ''; } { block = "net";