summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/torrent
diff options
context:
space:
mode:
authorKian Kasad <kdkasad@gmail.com>2020-05-30 14:01:18 -0700
committerGitHub <noreply@github.com>2020-05-30 17:01:18 -0400
commit3222354d50c9cc5a50fc78059e69e423a7009d58 (patch)
tree53cd87a34815f7e7b8d8c670777208a728616e2a /.local/bin/statusbar/torrent
parent52d9140820d3e39446cb8414220c9bc5a052216c (diff)
downloadeibhear-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/torrent')
-rwxr-xr-x.local/bin/statusbar/torrent2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/torrent b/.local/bin/statusbar/torrent
index e9e7fce..9e1da3a 100755
--- a/.local/bin/statusbar/torrent
+++ b/.local/bin/statusbar/torrent
@@ -17,7 +17,7 @@ transmission-remote -l | grep % |
s/Z/🌱/g" | awk '{print $2 $1}' | paste -sd ' '
case $BLOCK_BUTTON in
- 1) setsid "$TERMINAL" -e tremc & ;;
+ 1) setsid -f "$TERMINAL" -e tremc ;;
2) td-toggle ;;
3) notify-send "🌱 Torrent module" "\- Left click to open tremc.
- Middle click to toggle transmission.