Man, am I the greatest

This commit is contained in:
λmolinae 2025-06-07 06:27:03 +00:00
parent 696dcd1d27
commit 0b4e7f9185
13 changed files with 163 additions and 163 deletions

View file

@ -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 | \