diff --git a/.config/sway/golem-sway b/.config/sway/golem-sway index efbce12..6e7917b 100644 --- a/.config/sway/golem-sway +++ b/.config/sway/golem-sway @@ -19,11 +19,12 @@ bindsym $mod+q kill # lock screen bindsym $mod+$alt+s exec swaylock -#exec swayidle \ -# timeout 300 'swaylock -c 00005599' \ -# timeout 600 'swaymsg "output * dpms off"' \ -# resume 'swaymsg "output * dpms on"' \ -# before-sleep 'swaylock -c 00005599' +exec swayidle -w \ + timeout 300 'swaylock' +exec swayidle -w \ + timeout 600 'swaymsg "output * dpms off"'\ + resume 'swaymsg "output * dpms on"' +# before-sleep 'swaylock' # start rofi (a program launcher) bindsym XF86LaunchA exec --no-startup-id rofi -show run