#!/usr/bin/bash swayidle -w \ timeout 300 'swaylock --effect-blur 7x5 --clock --indicator' \ timeout 600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock --effect-blur 7x5 --clock --indicator'