icons to sysact, hibernate for runit

This commit is contained in:
Luke Smith 2020-05-04 10:30:11 -04:00
parent 4920a1b363
commit d0b37d4600
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -3,11 +3,12 @@
# A dmenu wrapper script for system functions. # A dmenu wrapper script for system functions.
cmds="\ cmds="\
lock screen slock 🔒 lock slock
leave dwm kill -TERM $(pidof -s dwm) 🚪 leave dwm kill -TERM $(pidof -s dwm)
refresh dwm kill -HUP $(pidof -s dwm) ♻ renew dwm kill -HUP $(pidof -s dwm)
reboot sudo -A reboot 🐻 hibernate sudo -A zzz
shutdown sudo -A shutdown -h now" 🔃 reboot sudo -A reboot
🖥 shutdown sudo -A shutdown -h now"
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1 choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1