Update scripts.
This commit is contained in:
parent
f58138fca7
commit
3c479393f0
@ -8,8 +8,8 @@ load_config() {
|
|||||||
|
|
||||||
menu() {
|
menu() {
|
||||||
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
|
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
|
||||||
"shutdown") loginctl poweroff ;;
|
"shutdown") poweroff ;;
|
||||||
"reboot") loginctl reboot ;;
|
"reboot") reboot ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user