Add emojis to powermenu
This commit is contained in:
parent
8d77ab1198
commit
9adf9948b0
@ -1,11 +1,11 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
WHAT="$(printf "Shutdown\nSuspend\nLock\nReboot" | rofi -dmenu -i -p 'What do you want?' -l 4)"
|
WHAT="$(printf " Shutdown\n Reboot\n Lock\n Suspend" | rofi -dmenu -i -p 'Powermenu' -l 4 -width 10px)"
|
||||||
if [ -z "$WHAT" ]; then exit; fi
|
if [ -z "$WHAT" ]; then exit; fi
|
||||||
|
|
||||||
case "$WHAT" in
|
case "$WHAT" in
|
||||||
Shutdown) systemctl poweroff;;
|
" Shutdown") systemctl poweroff;;
|
||||||
Suspend) lockscreen; systemctl suspend;;
|
" Suspend") lockscreen; systemctl suspend;;
|
||||||
Lock) lockscreen;;
|
" Lock") lockscreen;;
|
||||||
Reboot) systemctl reboot
|
" Reboot") systemctl reboot
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user