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/memory | |
| 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/memory')
| -rwxr-xr-x | .local/bin/statusbar/memory | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/memory b/.local/bin/statusbar/memory index 07a0f41..01d3daf 100755 --- a/.local/bin/statusbar/memory +++ b/.local/bin/statusbar/memory @@ -2,7 +2,7 @@ case $BLOCK_BUTTON in 1) notify-send "🧠Memory hogs" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;; - 2) setsid "$TERMINAL" -e htop & ;; + 2) setsid -f "$TERMINAL" -e htop ;; 3) notify-send "🧠Memory module" "\- Shows Memory Used/Total. - Click to show memory hogs. - Middle click to open htop." ;; |
