Update.
This commit is contained in:
parent
dad68ff550
commit
5fe9ae3c00
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
case "$(printf "shutdown\\nreboot" | dmenu -l 2 -p "Choose your poison")" in
|
case "$(printf "shutdown\\nreboot" | dmenu -l 2 -p "Choose your poison")" in
|
||||||
"shutdown") poweroff ;;
|
"shutdown") systemctl poweroff ;;
|
||||||
"reboot") reboot ;;
|
"reboot") systemctl reboot ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user