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/cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/statusbar/cpu') diff --git a/.local/bin/statusbar/cpu b/.local/bin/statusbar/cpu index 9225c1e..1572b52 100755 --- a/.local/bin/statusbar/cpu +++ b/.local/bin/statusbar/cpu @@ -2,7 +2,7 @@ case $BLOCK_BUTTON in 1) notify-send "🖥 CPU hogs" "$(ps axch -o cmd:15,%cpu --sort=-%cpu | head)\\n(100% per core)" ;; - 2) setsid "$TERMINAL" -e htop & ;; + 2) setsid -f "$TERMINAL" -e htop ;; 3) notify-send "🖥 CPU module " "\- Shows CPU temperature. - Click to show intensive processes. - Middle click to open htop." ;; -- cgit v1.3.1