Add bar widget to pause and resume the key display
A keyboard glyph in the bar (WidgetButton, right section by default) toggles a pause flag at $XDG_RUNTIME_DIR/omarchy-key-visualizer.paused that the panel and every bar widget instance watch, so a click on any monitor updates all of them. While paused the panel ignores key state and hides; the button dims. Also exposes pause/resume/toggle over the key-visualizer IPC target.
This commit is contained in:
+11
-3
@@ -2,11 +2,19 @@
|
||||
"schemaVersion": 1,
|
||||
"id": "felixzsh.key-visualizer",
|
||||
"name": "Key Visualizer",
|
||||
"version": "1.1.0",
|
||||
"version": "1.2.0",
|
||||
"description": "Shows the keys you press on screen. Great for keybinding tutorials, demos, and screencasts.",
|
||||
"kinds": ["panel"],
|
||||
"kinds": ["panel", "bar-widget"],
|
||||
"keepLoaded": true,
|
||||
"entryPoints": {
|
||||
"panel": "KeyVisualizer.qml"
|
||||
"panel": "KeyVisualizer.qml",
|
||||
"barWidget": "BarWidget.qml"
|
||||
},
|
||||
"barWidget": {
|
||||
"displayName": "Key Visualizer",
|
||||
"description": "Pause or resume the on-screen key display",
|
||||
"category": "Tools",
|
||||
"allowMultiple": false,
|
||||
"defaultSection": "right"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user