🗓️ 01062026 1727

SCREEN LOCKER

A screen locker locks an active session — it's distinct from the display_manager (which handles login before a session starts). The locker runs while you're already logged in.

i3lock-color is a popular choice for i3 setups — a fork of i3lock with full color and ring customisation.

Install​

yay -S i3lock-color

Key Flags​

FlagWhat it controls
--colorBackground color (hex, no #)
--ring-colorIdle ring
--keyhl-colorRing highlight when typing
--bshl-colorRing highlight on backspace
--inside-colorInside of ring fill
--line-colorLine between ring and inside
--verif-colorRing color during verification
--wrong-colorRing color on wrong password
--ringver-colorRing during verify
--ringwrong-colorRing on wrong password
--noinput-text ""Hide "no input" text
--verif-text ""Hide verify text
--wrong-text ""Hide wrong password text
--clockShow clock
--indicatorAlways show ring (not only on keypress)
--blur 5Blur screenshot as background
--radiusRing radius in px
--ring-widthRing thickness in px

Example Command​

i3lock-color \
--color=1e1e2e \
--ring-color=89b4faff \
--keyhl-color=a6e3a1ff \
--bshl-color=f38ba8ff \
--inside-color=1e1e2e00 \
--line-color=1e1e2e00 \
--verif-color=89b4faff \
--wrong-color=f38ba8ff \
--indicator \
--clock \
--radius 120 \
--ring-width 8

Hook Into i3​

# in ~/.config/i3/config
bindsym $mod+l exec --no-startup-id ~/.config/i3/lock.sh

# auto-lock on lid close via systemd
# /etc/systemd/system/lock-on-suspend.service

References​