dotfiles/hyprland/scripts/lock.sh

18 lines
487 B
Bash
Raw Permalink Normal View History

2023-08-18 19:38:09 +02:00
DUNST_STATE=$(dunstctl is-paused)
dunstctl set-paused true
swaylock \
--screenshots \
--clock \
--indicator \
--indicator-radius 100 \
--indicator-thickness 7 \
--effect-blur 7x5 \
--effect-vignette 0.5:0.5 \
--ring-color bb00cc \
--key-hl-color 880033 \
--line-color 00000000 \
--inside-color 00000088 \
--separator-color 00000000 \
--fade-in 0.2
dunstctl set-paused "$DUNST_STATE"