diff --git a/.config/waybar/hyprland b/.config/waybar/hyprland index 1e7330a..c438e17 100644 --- a/.config/waybar/hyprland +++ b/.config/waybar/hyprland @@ -6,7 +6,7 @@ "modules-left": ["hyprland/workspaces"], "modules-center": ["hyprland/window"], //"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], - "modules-right": ["pulseaudio#hyprland", "backlight", "idle_inhibitor", "network#hyprland", "battery", "clock", "tray"], + "modules-right": ["hyprland/language", "pulseaudio#hyprland", "backlight", "idle_inhibitor", "network#hyprland", "battery", "clock", "tray"], "include": "~/.config/waybar/modules", } diff --git a/.config/waybar/modules b/.config/waybar/modules index ea680aa..686fd86 100644 --- a/.config/waybar/modules +++ b/.config/waybar/modules @@ -21,6 +21,14 @@ "tooltip": true }, + "hyprland/language": { + "format": "[{short}-{shortDescription}{variant}]", + "tooltip-format": "{long}", + //"on-click": "swaymsg input type:keyboard xkb_switch_layout next", + "max-length": 15, + "tooltip": true + }, + "hyprland/window": { "max-length": 80, "tooltip": false