# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
+{% set lockcmd = "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg" %}
+
+exec swayidle -w \
+timeout 300 "{{lockcmd}}" \
+ timeout 600 'systemctl suspend' \
+ before-sleep "{{lockcmd}}"
+
+
### Input configuration
#
# Example configuration:
}
bindsym $mod+r mode "resize"
+bindsym $mod+Alt+l exec '{{ lockcmd }}'
+
include /etc/sway/config.d/*
# host specific section