Using a config made dmenu.
This commit is contained in:
parent
587f300ac7
commit
321f370263
19 changed files with 63 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue