Updated my scripts.
This commit is contained in:
parent
7c981ce281
commit
272fb806ef
17 changed files with 128 additions and 82 deletions
8
dmenu-power-menu
Executable file
8
dmenu-power-menu
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# simple power menu script
|
||||
|
||||
case "$(printf "shutdown\\nreboot" | dmenu -p "Choose your poison")" in
|
||||
"shutdown") systemctl poweroff ;;
|
||||
"reboot") systemctl reboot ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue