From f350fb79a86cc98ac39dcb9eae408517e8f4c7ad Mon Sep 17 00:00:00 2001 From: ozpv <39195175+ozpv@users.noreply.github.com> Date: Thu, 26 May 2022 18:34:21 -0500 Subject: update --- scripts/powermenu.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/powermenu.sh (limited to 'scripts') 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 -- cgit v1.2.3