fix(swaylock): rewrite for vanilla swaylock 1.8.6
The previous file used swaylock-EFFECTS options, which the packaged swaylock ignores. Documents that swaylock reads $XDG_CONFIG_HOME/swaylock/config on every invocation, including hypridle's before_sleep_cmd and the $mod+m keybind.
This commit is contained in:
1 parent
d1bd6aae48
commit
35e64fc0cc
1 file changed
+53
-9
+53
-9
@@ -1,15 +1,59 @@
|
|||||||
|
# swaylock configuration -- VANILLA swaylock (packaged v1.8.6).
|
||||||
|
#
|
||||||
|
# swaylock reads $XDG_CONFIG_HOME/swaylock/config automatically, so this file
|
||||||
|
# applies to every invocation, including hypridle's before_sleep_cmd and the
|
||||||
|
# $mod+m keybind.
|
||||||
|
#
|
||||||
|
# IMPORTANT: the previous version of this file used swaylock-EFFECTS options
|
||||||
|
# (clock, timestr, datestr, fade-in, effect-blur, effect-scale and a bare
|
||||||
|
# `indicator`). The packaged swaylock is vanilla, and each of those lines logs
|
||||||
|
# swaylock: unrecognized option '--effect-blur=20x2'
|
||||||
|
# + a full usage dump, then ignores it (verified against v1.8.6). So the file
|
||||||
|
# was never fatal -- but none of its styling ever applied either, which is why
|
||||||
|
# the lock screen always looked like a bare `swaylock -c 000000`. Keep only
|
||||||
|
# names that appear in `swaylock --help` (check: every key here matches one).
|
||||||
|
#
|
||||||
|
# Want the blurred background + clock lock screen? Use hyprlock (installed and
|
||||||
|
# configured at ~/.config/hypr/hyprlock.conf) -- that is what hypridle's
|
||||||
|
# lock_cmd / 300s listener already call. Or install swaylock-effects from the
|
||||||
|
# AUR and re-add the effect-* keys.
|
||||||
|
|
||||||
ignore-empty-password
|
ignore-empty-password
|
||||||
|
show-failed-attempts
|
||||||
|
indicator-caps-lock
|
||||||
|
|
||||||
clock
|
font=JetBrainsMono Nerd Font Mono
|
||||||
timestr=%R
|
font-size=24
|
||||||
datestr=%a, %e of %B
|
|
||||||
|
|
||||||
|
indicator-radius=110
|
||||||
|
indicator-thickness=12
|
||||||
|
|
||||||
fade-in=0.2
|
color=000000
|
||||||
|
|
||||||
#screenshots
|
inside-color=00000000
|
||||||
effect-blur=20x2
|
inside-clear-color=00000000
|
||||||
#effect-greyscale
|
inside-ver-color=00000000
|
||||||
effect-scale=0.3
|
inside-wrong-color=00000000
|
||||||
|
|
||||||
indicator
|
line-color=333333
|
||||||
|
line-clear-color=CCCCCC
|
||||||
|
line-ver-color=999999
|
||||||
|
line-wrong-color=FFA14C
|
||||||
|
|
||||||
|
ring-color=333333
|
||||||
|
ring-clear-color=CCCCCC
|
||||||
|
ring-ver-color=999999
|
||||||
|
ring-wrong-color=FFA14C
|
||||||
|
|
||||||
|
key-hl-color=CCCCCC
|
||||||
|
bs-hl-color=FFA14C
|
||||||
|
separator-color=222222
|
||||||
|
|
||||||
|
text-color=FFFFFF
|
||||||
|
text-clear-color=CCCCCC
|
||||||
|
text-ver-color=FFFFFF
|
||||||
|
text-wrong-color=FFA14C
|
||||||
|
|
||||||
|
layout-bg-color=00000000
|
||||||
|
layout-border-color=00000000
|
||||||
|
layout-text-color=CCCCCC
|
||||||
Reference in new issue
Block a user