From b6468bd29e5b77a5946e3d2b5fc1aefee6edf937 Mon Sep 17 00:00:00 2001 From: "Adrian Gunnar Lauterer (aider)" Date: Thu, 29 May 2025 00:31:49 +0200 Subject: [PATCH] feat: add on-screen keyboard button to waybar's left modules --- home/gunalx/waybar.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/gunalx/waybar.nix b/home/gunalx/waybar.nix index b34b714..22c0dbb 100644 --- a/home/gunalx/waybar.nix +++ b/home/gunalx/waybar.nix @@ -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": {