diff options
| author | Kian Kasad <kdkasad@gmail.com> | 2020-05-30 14:01:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-30 17:01:18 -0400 |
| commit | 3222354d50c9cc5a50fc78059e69e423a7009d58 (patch) | |
| tree | 53cd87a34815f7e7b8d8c670777208a728616e2a /.local/bin/statusbar/mailbox | |
| parent | 52d9140820d3e39446cb8414220c9bc5a052216c (diff) | |
| download | eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.gz eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.zst eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.zip | |
make use of setsid(1)'s `-f` flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
Diffstat (limited to '.local/bin/statusbar/mailbox')
| -rwxr-xr-x | .local/bin/statusbar/mailbox | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
