From a3ca244c15056377ec33a3180ff9db881fe77c35 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 27 Jul 2025 22:59:45 +1000 Subject: bar: add kb layout status icon Closes #280 --- modules/bar/components/StatusIcons.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'modules/bar/components') diff --git a/modules/bar/components/StatusIcons.qml b/modules/bar/components/StatusIcons.qml index 45f943e..692f48f 100644 --- a/modules/bar/components/StatusIcons.qml +++ b/modules/bar/components/StatusIcons.qml @@ -63,6 +63,23 @@ Item { } } + // Keyboard layout icon + Loader { + id: kbLayout + + Layout.alignment: Qt.AlignHCenter + asynchronous: true + active: Config.bar.status.showKbLayout + visible: active + + sourceComponent: StyledText { + animate: true + text: Hyprland.kbLayout + color: root.colour + font.family: Appearance.font.family.mono + } + } + // Network icon Loader { id: networkIcon -- cgit v1.2.3-freya