diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-08-30 19:29:26 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-08-30 19:29:26 +0530 |
commit | dfff78a2e0ec69e60cfb267ae071eb3c602cece3 (patch) | |
tree | 0b67b5c0758996d403c22b9d60041c407f73325a /.scripts/pidkillall | |
parent | 41e21e06078ad88e27d8671733a7275e6f92fde2 (diff) |
zathurarc changes - no error + pidkillall comment typofix
Diffstat (limited to '.scripts/pidkillall')
-rwxr-xr-x | .scripts/pidkillall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/pidkillall b/.scripts/pidkillall index 1ebc38f..faf8705 100755 --- a/.scripts/pidkillall +++ b/.scripts/pidkillall @@ -1,7 +1,7 @@ #!/bin/sh psout=$(ps -u $USER -o pid,%cpu,%mem,comm | sed -n '1!p' | sort -b -k2 -r| cut --characters=1-18 --complement | awk '!x[$0]++'| dmenu -i -l 15 ) -//uniq without piping into sort before with the help of awk +##uniq without piping into sort before with the help of awk killall $psout 2>/dev/null && [ -n "$psout" ] && dunstify "Terminated all processes Successfully" "$psout was killed" -i skull |