diff options
author | Amin Bandali <bandali@gnu.org> | 2018-10-20 15:58:10 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-10-20 15:58:10 -0400 |
commit | 93f6bf1a710ba5300378b66e68a64e2c467f8c9b (patch) | |
tree | 0808892c7cac585bd2218f03c41406aaf01c34db | |
parent | 5b09427d4c2fb597f6b54aca5e83f2578e016b96 (diff) | |
download | configs-93f6bf1a710ba5300378b66e68a64e2c467f8c9b.tar.gz configs-93f6bf1a710ba5300378b66e68a64e2c467f8c9b.tar.xz configs-93f6bf1a710ba5300378b66e68a64e2c467f8c9b.zip |
[rc/sway] don't automatically lock the screen
-rw-r--r-- | rc.org | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -3800,9 +3800,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill ### Idle configuration exec swayidle \ - timeout 120 swaylock \ - timeout 180 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ + timeout 120 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ before-sleep swaylock @@ -3971,16 +3970,15 @@ bindsym $mod+Shift+r mode "resize" # # Power button # -set $locker swaylock && sleep 1 set $mode_system System (l)ock, (e)xit sway, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown mode "$mode_system" { - bindsym l exec $locker, mode "default" - bindsym e exec swaymsg exit, mode "default" - bindsym s exec $locker && systemctl suspend, mode "default" - bindsym h exec $locker && systemctl hibernate, mode "default" - bindsym r exec systemctl reboot, mode "default" - bindsym Shift+s exec systemctl poweroff -i, mode "default" + bindsym l exec swaylock, mode "default" + bindsym e exec swaymsg exit, mode "default" + bindsym s exec systemctl suspend, mode "default" + bindsym h exec systemctl hibernate, mode "default" + bindsym r exec systemctl reboot, mode "default" + bindsym Shift+s exec systemctl poweroff -i, mode "default" # back to normal: Enter, Escape, or q bindsym Return mode "default" |