small pixel drawing of a pufferfish dotfiles

.config/sway/zora

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
output * bg /home/j3s/Pictures/whale.jpg fill

# This will lock your screen after 300 seconds of inactivity, then turn off
# 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.

exec swayidle -w \
         timeout 300 'swaylock -f -c 000000' \
         timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
         before-sleep 'swaylock -f -c 000000'

for_window [class="Firefox"] inhibit_idle fullscreen
for_window [class="Chromium"] inhibit_idle fullscreen

# Laptop outputs are managed automatically using kanshi
exec_always pkill kanshi; exec kanshi