diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-27 22:59:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-27 22:59:45 +1000 |
| commit | a3ca244c15056377ec33a3180ff9db881fe77c35 (patch) | |
| tree | abc76733e96269de887d4213295e891d05b1d4a6 /modules/bar/components | |
| parent | internal: fix busyindicator & switch (diff) | |
| download | caelestia-shell-a3ca244c15056377ec33a3180ff9db881fe77c35.tar.gz caelestia-shell-a3ca244c15056377ec33a3180ff9db881fe77c35.tar.bz2 caelestia-shell-a3ca244c15056377ec33a3180ff9db881fe77c35.zip | |
bar: add kb layout status icon
Closes #280
Diffstat (limited to 'modules/bar/components')
| -rw-r--r-- | modules/bar/components/StatusIcons.qml | 17 |
1 files changed, 17 insertions, 0 deletions
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 |