diff options
Diffstat (limited to 'bemenu/.local')
-rwxr-xr-x | bemenu/.local/bin/powermenu | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/bemenu/.local/bin/powermenu b/bemenu/.local/bin/powermenu deleted file mode 100755 index 688ae3b..0000000 --- a/bemenu/.local/bin/powermenu +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/sh - -if [ "$#" -eq 0 ]; then - set -- $(awk '{print tolower($2)}') -fi - -case "$1" in -lock) - loginctl lock-session ${XDG_SESSION_ID-} - ;; -logout) - loginctl terminate-session ${XDG_SESSION_ID-} - ;; -suspend) - systemctl suspend - ;; -hibernate) - systemctl hibernate - ;; -reboot) - systemctl reboot - ;; -poweroff) - systemctl poweroff - ;; -*list) - printf '%s\n' ' Lock' ' Logout' ' Hibernate' ' Suspend' ' Reboot' ' Poweroff' - ;; -*) - echo "Invalid argument: $@" - ;; -esac |