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 #!/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