#!/bin/sh pkill -f swayidle swayidle -w \ timeout 300 "swaylock -f -i $wallpaper" \ timeout 600 "wlopm --off \*;swaylock -F -i $wallpaper" resume "wlopm --on \*" \ before-sleep "swaylock -f -i $wallpaper" &