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/cpu | |
| 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/cpu')
| -rwxr-xr-x | .local/bin/statusbar/cpu | 2 |
1 files changed, 1 insertions, 1 deletions
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." ;; |
