fix: swayidle poopy

This commit is contained in:
2025-07-23 14:12:19 +03:00
parent e3f723ae00
commit bc7169488a
2 changed files with 6 additions and 5 deletions

View File

@@ -23,11 +23,11 @@ bindsym $mod+Shift+tab workspace prev_on_output
# Lockscreen configuration
set $screenlock 'swaylock -f -c 282828'
# Idle configuration
exec swayidle -w \
timeout 300 $screenlock \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep $screenlock
# exec swayidle -w \
# timeout 300 $screenlock \
# timeout 600 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep $screenlock
bindsym --to-code {
$mod+b splith