mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
708 stars 45 forks source link

[Bug] Lock fails if screenshot fails #51

Open ChilloManiac opened 3 years ago

ChilloManiac commented 3 years ago

Issue When using a screenshot as a lockscreen and the screencopy tool fails - the lock will terminate

Expected Behaviour The lock will use a fallback such as a black screen if the screencopy fails.

ConfigFile

#General
screenshots
clock
indicator
ignore-empty-password
grace=5
grace-no-mouse
fade-in=0.2
datestr="%a, %d/%m/%y"

indicator-radius=80
indicator-thickness=5

effect-blur=7x5
effect-vignette=0.5:0.5

#Colors
bs-hl-color=D08770
inside-color=2E344080
inside-clear-color=2E344080
inside-ver-color=2E344080
inside-wrong-color=BF616A80
key-hl-color=88C0D0
line-color=00000000
line-clear-color=00000000
line-ver-color=00000000
line-wrong-color=00000000
ring-color=5E81AC
ring-clear-color=5E81AC
ring-ver-color=5E81AC
ring-wrong-color=5E81AC
separator-color=00000000
text-color=D08770
text-clear-color=D08770
text-ver-color=D08770
text-wrong-color=2E3440