Add swaylock-effects lock via lock.sh with fallback
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
pkill -x swayidle
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f' \
|
||||
timeout 300 "$HOME/.config/sway/lock.sh" \
|
||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
before-sleep "$HOME/.config/sway/lock.sh"
|
||||
|
||||
Reference in New Issue
Block a user