diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/powermenu.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/powermenu.sh b/scripts/powermenu.sh new file mode 100644 index 0000000..5b561a6 --- /dev/null +++ b/scripts/powermenu.sh @@ -0,0 +1,6 @@ +case "$(echo -e "Poweroff \nReboot ﰇ\nSuspend ⏾\nCancel ﰸ" | dmenu)" in + "Poweroff ") loginctl poweroff ;; + "Reboot ﰇ") loginctl reboot ;; + "Suspend ⏾") loginctl suspend ;; + "Cancel ﰸ") exit ;; +esac |
