diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2022-05-26 22:19:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-26 22:19:02 -0500 |
| commit | c4e0e5550af1bb87e15c93464aa1c9f108f9d2ec (patch) | |
| tree | f4c0253758ea2b9fe2e5a2bbed96d7f99bcf39d4 /scripts/powermenu | |
| parent | 6aa714c30c388f312dc706548ac2c95dababdba4 (diff) | |
update
Diffstat (limited to 'scripts/powermenu')
| -rw-r--r-- | scripts/powermenu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/powermenu b/scripts/powermenu new file mode 100644 index 0000000..fac1db0 --- /dev/null +++ b/scripts/powermenu @@ -0,0 +1,8 @@ +#!/bin/sh +case "$(echo -e "Poweroff \nReboot ﰇ\nSuspend ⏾\nCancel ﰸ" | dmenu)" in + "Poweroff ") loginctl poweroff ;; + "Reboot ﰇ") loginctl reboot ;; + "Suspend ⏾") loginctl suspend ;; + "Cancel ﰸ") exit ;; + *) exit ;; +esac |
