1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-14 23:11:50 +08:00

swaylock-effects is deprecated, use the original

This commit is contained in:
Ryan 2024-11-11 17:09:51 +08:00
parent 3b447b7330
commit 245eb2e76b

View File

@ -23,9 +23,9 @@ if test "$choice" = lock; then
# timeout $sleep_time 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
idlepid=$!
# swaylock -e -c 282828 --inside-color 00000003
swaylock -S --effect-blur "12x12" --effect-greyscale --effect-vignette 0.5:0.5 --inside-color 28282860 \
-e --ring-color 00000000 --line-color 00000000 --indicator --clock --text-color ebdbb2
swaylock -e -c 282828 --inside-color 00000003
# swaylock -S --effect-blur "12x12" --effect-greyscale --effect-vignette 0.5:0.5 --inside-color 28282860 \
# -e --ring-color 00000000 --line-color 00000000 --indicator --clock --text-color ebdbb2
kill $idlepid
swaymsg "output * power on"