sway-dotfiles/idlelock.sh

25 lines
608 B
Bash
Raw Normal View History

2023-01-30 08:19:14 +01:00
brightnessctl -d intel_backlight s 10%
swaylock -e \
--screenshots \
--grace 15 \
--clock \
--submit-on-touch \
--indicator-idle-visible \
--indicator-radius 100 \
--indicator-thickness 7 \
--ring-color 455a64 \
--key-hl-color be5046 \
--text-color ffc107 \
--line-color 00000000 \
--inside-color 00000088 \
--separator-color 00000000 \
--fade-in 0.1 \
--effect-scale 0.5 \
--effect-blur 7x3 \
--effect-scale 2 \
--effect-vignette 0.5:0.5 \
# --effect-compose "50%,50%;20%x20%;center;$HOME/.config/sway/lockscreen.jpg" \
"$@"
brightnessctl -d intel_backlight s 50%