This commit is contained in:
cronyakatsuki 2022-03-02 15:54:35 +01:00
parent dad68ff550
commit 5fe9ae3c00

View File

@ -1,6 +1,6 @@
#!/bin/sh
case "$(printf "shutdown\\nreboot" | dmenu -l 2 -p "Choose your poison")" in
"shutdown") poweroff ;;
"reboot") reboot ;;
"shutdown") systemctl poweroff ;;
"reboot") systemctl reboot ;;
esac