shell: register the Brightness IPC target on startup
Brightness is a singleton nothing instantiates, so 'qs ipc call brightness increment' answered 'Target not found' while still exiting 0 — the lever's || brightnessctl fallback never fired. Pull the singleton in so the lever owns brightness again.
This commit is contained in:
parent
8e5182ab6c
commit
fbda26e9c8
1 changed files with 3 additions and 0 deletions
|
|
@ -70,6 +70,9 @@ ShellRoot {
|
|||
Cliphist.refresh()
|
||||
Wallpapers.load()
|
||||
Updates.load()
|
||||
// Brightness is a singleton nothing references, so its IPC target
|
||||
// never registers and the lever's `||` fallback never fires.
|
||||
Brightness.initializeMonitor(0)
|
||||
}
|
||||
|
||||
LazyLoader {
|
||||
|
|
|
|||
Loading…
Reference in a new issue