Using a config made dmenu.

This commit is contained in:
Crony Akatsuki 2022-07-17 11:03:13 +02:00
parent 587f300ac7
commit 321f370263
19 changed files with 63 additions and 28 deletions

View file

@ -2,7 +2,9 @@
# simple power menu script
case "$(printf "shutdown\\nreboot" | dmenu -p "Choose your poison")" in
source $HOME/.config/dmenu/config
case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in
"shutdown") sudo poweroff ;;
"reboot") sudo reboot ;;
esac