Looking for one more sign
This commit is contained in:
parent
6f37e3c563
commit
696dcd1d27
7 changed files with 34 additions and 111 deletions
|
@ -5,11 +5,7 @@ case $(printf "%s\n" " Lock session" " Log out" " Kill process" "
|
|||
swaylock
|
||||
;;
|
||||
" Log out")
|
||||
if pidof dwl > /dev/null; then
|
||||
kill "$(pidof dwl)"
|
||||
elif pidof river > /dev/null; then
|
||||
kill "$(pidof river)"
|
||||
fi
|
||||
kill "$(pidof dwl)"
|
||||
;;
|
||||
" Kill process")
|
||||
ps -o pid,comm,user | \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue