summaryrefslogtreecommitdiff
path: root/.local/bin/sway-power
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/sway-power')
-rwxr-xr-x.local/bin/sway-power12
1 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/sway-power b/.local/bin/sway-power
index 3d5006c..31e5013 100755
--- a/.local/bin/sway-power
+++ b/.local/bin/sway-power
@@ -11,14 +11,14 @@ case "$PWR_OPTS" in
loginctl hibernate
;;
Lock)
- _have swaylock && swaylock --daemonize && swaymsg 'output * power off'
+ _have swaylock && swaylock --daemonize
;;
- Logout)
- loginctl terminate-session self
- ;;
+ Logout)
+ loginctl terminate-session self
+ ;;
Reboot)
- loginctl reboot
- ;;
+ loginctl reboot
+ ;;
Shutdown)
loginctl poweroff
;;