Files
jozamudi 35e64fc0cc 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.
2026-10-27 18:32:33 -07:00

60 lines
1.7 KiB
Plaintext

# 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
show-failed-attempts
indicator-caps-lock
font=JetBrainsMono Nerd Font Mono
font-size=24
indicator-radius=110
indicator-thickness=12
color=000000
inside-color=00000000
inside-clear-color=00000000
inside-ver-color=00000000
inside-wrong-color=00000000
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