feat: add on-screen keyboard button to waybar's left modules

This commit is contained in:
2025-05-29 00:31:49 +02:00
parent 2a04bb07b0
commit b6468bd29e

View File

@@ -23,7 +23,7 @@ in
"spacing": 2,
"tray-position": "right",
"tray-all-outputs": true,
"modules-left": ["custom/overview", "custom/launcher", "sway/workspaces", "niri/workspaces"],
"modules-left": ["custom/overview", "custom/launcher", "custom/keyboard", "sway/workspaces", "niri/workspaces"],
"modules-center": ["niri/window"],
"modules-right": [
"idle_inhibitor", "backlight", "pulseaudio", "keyboard-state",
@@ -63,6 +63,11 @@ in
"tooltip": "Toggle Overview",
"on-click": "niri msg action toggle-overview"
},
"custom/keyboard": {
"format": "",
"tooltip": "On-Screen Keyboard",
"on-click": "pkill onboard || onboard"
},
"niri/window": {