From 8bb24f0ed102d9470827c9c9145011d8e7165674 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 1 Mar 2025 03:03:33 +0530 Subject: hypr+waybar+script: toggle keyboard --- .config/waybar/config.jsonc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.config/waybar/config.jsonc') 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" + } } -- cgit v1.2.3