Turn the bar widget into a menu with toggle and display options

Clicking the keyboard glyph now opens a KeyboardPanel popup (the native
bar pattern, e.g. omarchy.audio) instead of toggling pause directly:
Show keys toggle, Mode (all | bindings), and Position (bottom/top/
center). The toggle writes the pause flag and the options write
config.json, both watched by the display panel, so menu and overlay
stay in sync across monitors. Replaces BarWidget.qml with a Panel-based
widget (Panel + BarIconButton + KeyboardPanel).
This commit is contained in:
felixzsh
2026-08-11 13:26:32 -05:00
parent 1b2128e6f1
commit 949f41a6be
3 changed files with 247 additions and 64 deletions
+7 -4
View File
@@ -2,17 +2,20 @@
"schemaVersion": 1,
"id": "felixzsh.key-visualizer",
"name": "Key Visualizer",
"version": "1.2.0",
"version": "1.3.0",
"description": "Shows the keys you press on screen. Great for keybinding tutorials, demos, and screencasts.",
"kinds": ["panel", "bar-widget"],
"kinds": [
"panel",
"bar-widget"
],
"keepLoaded": true,
"entryPoints": {
"panel": "KeyVisualizer.qml",
"barWidget": "BarWidget.qml"
"barWidget": "Panel.qml"
},
"barWidget": {
"displayName": "Key Visualizer",
"description": "Pause or resume the on-screen key display",
"description": "Toggle the key display and its options",
"category": "Tools",
"allowMultiple": false,
"defaultSection": "right"