diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2022-05-26 18:34:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-26 18:34:21 -0500 |
| commit | f350fb79a86cc98ac39dcb9eae408517e8f4c7ad (patch) | |
| tree | 7d4e96ee7d6f950d40344a82e27740986ceb1cf8 /scripts | |
| parent | 844185224e5f39d6ead1e9bdec30d5dda4e91518 (diff) | |
update
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 |
