Update.
This commit is contained in:
parent
dad68ff550
commit
5fe9ae3c00
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue