Add CleanKbd as a first-party indicator (keyboard lock for cleaning) #7925
JoeJoeflyn
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal
Add a CleanKbd indicator beside NightLight and StayAwake in the stock
omarchy.indicatorsplugin.What it does
One-click keyboard lock for cleaning. Click the indicator to disable keyboard input via
hyprctl eval hl.device({ name = ..., enabled = false }), click again to re-enable. Mouse still works while locked, so you can wipe down your keyboard and screen without triggering keystrokes.Why first-party
Currently implemented as a third-party plugin (omaclean) with a 2-step install (service plugin + setup script that clones indicators and copies the indicator QML). Making it first-party would:
omarchy.indicatorsImplementation
The service is ~60 lines of QML:
setLocked(value)toggles the keyboard device and persists statestatus(),toggle(),enable(),disable()The indicator is ~15 lines, same pattern as NightLight.qml:
BarIndicatorwithactive: cleankbdService.lockedonPressed: cleankbdService.toggle()Working reference
Would this be a welcome addition to the stock indicators?
All reactions