aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-06-26 17:04:14 +0100
committerJustine Smithies <justine@smithies.me.uk>2025-06-26 17:04:14 +0100
commit5a687b85668646839b153b5619dab5a0c8393d64 (patch)
tree3c8249fac3de7a66bb85f516c5b9a3bd18d02654
parent52802230025649faea02d4e93e73e7efab3dc995 (diff)
swaylock-effects
-rwxr-xr-x.config/waybar/scripts/swayidle-update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/waybar/scripts/swayidle-update.sh b/.config/waybar/scripts/swayidle-update.sh
index 363ae8f..fcc0f9a 100755
--- a/.config/waybar/scripts/swayidle-update.sh
+++ b/.config/waybar/scripts/swayidle-update.sh
@@ -2,6 +2,6 @@
pkill -f swayidle
read -r wallpaper<"$HOME/.cache/wallpaper"
swayidle -w \
- timeout 300 "swaylock -f -i $wallpaper" --effect-blur 10x5 --clock --datestr "%a %d %b %Y" --indicator \
- timeout 600 "wlopm --off \*;swaylock -F -i $wallpaper" --effect-blur 10x5 --clock --datestr "%a %d %b %Y" --indicator resume "wlopm --on \*" \
- before-sleep "swaylock -f -i $wallpaper" --effect-blur 10x5 --clock --datestr "%a %d %b %Y" --indicator &
+ timeout 300 "swaylock -f -i $wallpaper --effect-blur 10x5 --clock --datestr '%a %d %b %Y' --indicator" \
+ timeout 600 "wlopm --off \*;swaylock -F -i $wallpaper --effect-blur 10x5 --clock --datestr '%a %d %b %Y' --indicator" resume "wlopm --on \*" \
+ before-sleep "swaylock -f -i $wallpaper --effect-blur 10x5 --clock --datestr '%a %d %b %Y' --indicator" &