From 078dc653d4d980c4913a9c82e23b45f81c66e7d4 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Thu, 29 Jan 2026 19:25:07 +0300 Subject: [PATCH] Update config-HDMI-A-2 --- .config/waybar/config-HDMI-A-2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/waybar/config-HDMI-A-2 b/.config/waybar/config-HDMI-A-2 index 5d4b101..d8e260f 100644 --- a/.config/waybar/config-HDMI-A-2 +++ b/.config/waybar/config-HDMI-A-2 @@ -3,7 +3,7 @@ "modules-left": ["hyprland/workspaces"], "modules-center": ["clock","custom/weather"], - "modules-right": ["tray","custom/scratchpad-indicator","bluetooth","memory","cpu","pulseaudio","custom/power"], + "modules-right": ["tray","custom/scratchpad-indicator","bluetooth","custom/kblayout","memory","cpu","pulseaudio","custom/power"], "sway/mode": { "format": "{}" @@ -75,6 +75,10 @@ "exec": "$HOME/.config/waybar/scripts/weather.py", "return-type": "json" }, + "custom/kblayout": { + "exec": "hyprctl -j devices | jq -r '.keyboards[] | select(.main == true) | .active_keymap | ascii_downcase | if test(\"turk\") then \"tr\" elif test(\"us|english\") then \"en\" else \"??\" end'", + "interval": 1 + }, "memory": { "interval": 30, "format": " {used:0.1f}GB",