Update formatting.

This commit is contained in:
CronyAkatsuki 2023-11-04 22:03:43 +01:00
parent 41754e8ad1
commit e1c508c53b
16 changed files with 287 additions and 278 deletions

View file

@ -2,21 +2,21 @@
# simple power menu script
load_config () {
. $HOME/.config/dmenu/config
load_config() {
. $HOME/.config/dmenu/config
}
menu () {
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
"shutdown") loginctl poweroff ;;
"reboot") loginctl reboot ;;
esac
menu() {
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
"shutdown") loginctl poweroff ;;
"reboot") loginctl reboot ;;
esac
}
main () {
load_config
main() {
load_config
menu
menu
}
main $@