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:
+7
-4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user