#!/bin/sh lock="swaylock -f --indicator-radius 400 --indicator-thickness 20 --ring-color df73ff --key-hl-color 663399 -K -c 000000" exec swayidle -w \ timeout 120 "$lock" \ timeout 300 'swaymsg "output * power off"' \ resume 'swaymsg "output * power on"'