make use of setsid(1)'s -f flag (#652)

Co-authored-by: Luke Smith <luke@lukesmith.xyz>
This commit is contained in:
Kian Kasad
2020-05-30 14:01:18 -07:00
committed by GitHub
parent 52d9140820
commit 3222354d50
19 changed files with 34 additions and 37 deletions

View File

@@ -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