Man, am I the greatest
This commit is contained in:
parent
696dcd1d27
commit
0b4e7f9185
13 changed files with 163 additions and 163 deletions
|
@ -5,7 +5,11 @@ case $(printf "%s\n" " Lock session" " Log out" " Kill process" "
|
|||
swaylock
|
||||
;;
|
||||
" Log out")
|
||||
kill "$(pidof dwl)"
|
||||
if pidof dwl > /dev/null; then
|
||||
kill "$(pidof dwl)"
|
||||
elif pidof river > /dev/null; then
|
||||
kill "$(pidof river)"
|
||||
fi
|
||||
;;
|
||||
" Kill process")
|
||||
ps -o pid,comm,user | \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue