From 3222354d50c9cc5a50fc78059e69e423a7009d58 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Sat, 30 May 2020 14:01:18 -0700 Subject: make use of setsid(1)'s `-f` flag (#652) Co-authored-by: Luke Smith --- .local/bin/statusbar/mailbox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/mailbox') diff --git a/.local/bin/statusbar/mailbox b/.local/bin/statusbar/mailbox index 8f87d75..ca77f5c 100755 --- a/.local/bin/statusbar/mailbox +++ b/.local/bin/statusbar/mailbox @@ -4,8 +4,8 @@ # When clicked, brings up `neomutt`. case $BLOCK_BUTTON in - 1) setsid "$TERMINAL" -e neomutt & ;; - 2) setsid mailsync >/dev/null & ;; + 1) setsid -f "$TERMINAL" -e neomutt ;; + 2) setsid -f mailsync >/dev/null ;; 3) notify-send "📬 Mail module" "\- Shows unread mail - Shows 🔃 if syncing mail - Left click opens neomutt -- cgit v1.3.1