11 lines
204 B
Bash
Executable File
11 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# simple power menu script
|
|
|
|
source $HOME/.config/dmenu/config
|
|
|
|
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
|
|
"shutdown") poweroff ;;
|
|
"reboot") reboot ;;
|
|
esac
|