diff options
author | Saumit <justsaumit@protonmail.com> | 2025-03-01 03:03:33 +0530 |
---|---|---|
committer | Saumit <justsaumit@protonmail.com> | 2025-03-01 03:03:33 +0530 |
commit | 8bb24f0ed102d9470827c9c9145011d8e7165674 (patch) | |
tree | 22d9e173f401c10c2a34bbf02dbe3bbf675c1c14 /.config/waybar/config.jsonc | |
parent | 71f9a6547a4aa9e759c371e6bac496445c659ef9 (diff) |
hypr+waybar+script: toggle keyboard
Diffstat (limited to '.config/waybar/config.jsonc')
-rw-r--r-- | .config/waybar/config.jsonc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index c2aef8e..0e9d7c3 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -30,7 +30,8 @@ "network", "battery", "backlight", - "tray" + "tray", + "custom/toggle-laptop-keyboard" ], "hyprland/window": { "format": "{}" @@ -211,5 +212,10 @@ "tray": { "icon-size": 18, "spacing": 10 - } + }, + "custom/toggle-laptop-keyboard": { + "format": " ", + "on-click": "~/.scripts/keyboard-disable-hypr", + "tooltip-format": "Toggle Laptop Keyboard" + } } |