Update.
This commit is contained in:
parent
5fe9ae3c00
commit
19ee4a7871
10 changed files with 152 additions and 25 deletions
13
dmenukill
Executable file
13
dmenukill
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
selected=$(ps --user "$USER" -F | dmenu -p "Select procces to kill:" -l 5 | awk '{print $2" "$11}')
|
||||
|
||||
[ -n "$selected" ] || exit
|
||||
|
||||
answer=$(printf "yes\\nno" | dmenu -p "Are you sure?")
|
||||
|
||||
[ $answer = "yes" ] || exit
|
||||
|
||||
kill -9 "${selected%% *}"
|
||||
|
||||
quick-notify "Killed Procces" "$selected"
|
Loading…
Add table
Add a link
Reference in a new issue