Update config-DP-2

This commit is contained in:
FURK4NGG
2026-01-29 19:26:19 +03:00
committed by GitHub
parent 078dc653d4
commit 81e9ab31f9
+5 -1
View File
@@ -3,7 +3,7 @@
"modules-left": ["hyprland/workspaces"], "modules-left": ["hyprland/workspaces"],
"modules-center": ["clock","custom/weather"], "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": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
@@ -75,6 +75,10 @@
"exec": "$HOME/.config/waybar/scripts/weather.py", "exec": "$HOME/.config/waybar/scripts/weather.py",
"return-type": "json" "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": { "memory": {
"interval": 30, "interval": 30,
"format": " {used:0.1f}GB", "format": " {used:0.1f}GB",