Better screenlock for hyprland

main
Micke Nordin 1 year ago
parent 086b30183c
commit d20b99dfd2

@ -1,4 +1,5 @@
#!/bin/bash
swayidle -w \
swayidle \
timeout 300 '/usr/local/bin/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 --grace 2 --fade-in 0.2' \
timeout 600 'hyprctl dispatch dpms off' after-resume 'hyprctl dispatch dpms on' before-sleep '/usr/local/bin/swaylock f c 000000'
timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' \
unlock 'hyprctl dispatch dpms on'

Loading…
Cancel
Save