fix(osd): show OSD at 100% via fabric-cli exec from keybinds

- Add osd_show_audio/osd_show_brightness methods on OSDWindow
- Register as standalone functions in __main__ for fabric-cli exec
- Keybinds now chain fabric-cli exec after wpctl/brightnessctl
- Emit brightness signal on threshold bypass for small changes
This commit is contained in:
sankalp committed 2026-07-17 12:24:34 +05:45
1 parent 4f36ada1c5
commit aeccbe3089
4 files changed
+38 -5

No files matched your search

+1
View File
@@ -284,6 +284,7 @@ class Brightness(Service):
abs(new_percent - current_percent) < self.MIN_CHANGE_THRESHOLD
and self._last_raw != -1
):
self.emit("screen", new_percent)
return
self._pending_raw = value