mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2026-04-20 14:00:46 +02:00
feat: add on-screen keyboard button to waybar's left modules
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user