icons to sysact, hibernate for runit
This commit is contained in:
parent
4920a1b363
commit
d0b37d4600
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue