Keyboard backlight not restored on wake/unlock
On laptops with software-controlled keyboard backlights (e.g. ASUS via brightnessctl), the keyboard stays dark after lockscreen blanks. Hard to log back in when you cant see what you are typing at night.
The lockscreen blank flow calls omarchy-brightness-keyboard off in blankProcess to turn off the backlight when the screen blanks. But wakeProcess never calls omarchy-brightness-keyboard restore to bring it back after unlock.
This does not affect firmware-controlled backlights — only software-controlled ones where brightnessctl manages the brightness.
Suggested fix — add omarchy-brightness-keyboard restore to the wake command in shell/plugins/lock/Service.qml:
command: ["bash", "-c", "omarchy-brightness-keyboard restore; omarchy-brightness-display on"]
This is a no-op on systems where keyboard brightness is hardware-controlled — the brightnessctl call in omarchy-brightness-keyboard fails silently, so it won't affect desktops or keyboards that handle this themselves.
EDIT: reworded for clarity/accuracy
Heads up: the premise doesn't hold on 4.0.0 — wakeProcess does reach restore. The two processes just aren't symmetric in shape, wakeProcess goes through a wrapper script:
// shell/plugins/lock/Service.qml:405-412
Process { id: wakeProcess; command: ["bash", "-c", "omarchy-system-wake"] }
Process { id: blankProcess; command: ["bash", "-c", "omarchy-brightness-keyboard off; omarchy-brightness-display off"] }
and bin/omarchy-system-wake is:
omarchy-brightness-display on
omarchy-brightness-keyboard restore
omarchy-hyprland-monitor-clamshell >/dev/null 2>&1 || true
So the suggested patch would call restore twice and otherwise change nothing.
The symptom is real, but the cause is #6667: omarchy-brightness-keyboard off is brightnessctl -sd "$device" set 0, which saves the current level unconditionally. Whenever off runs while the light is already at 0, the saved level becomes 0 and restore then faithfully restores darkness — permanently, because the poisoned save file survives every later lock cycle. PR #6760 fixes it by skipping the save when current brightness is already 0.
Probably worth closing this as a duplicate of #6667.
Closing — works on my machine with the zeno.lock override. The root cause is unclear since already includes , but the direct call in my fork resolves it. May revisit if I figure out the actual mechanism.