From 8360d4d589d8641085786cd851d309b247509daf Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 5 Sep 2025 14:54:21 +0200 Subject: [PATCH] animate xkb layout indicator change --- .config/quickshell/ii/modules/bar/BarContent.qml | 1 + .config/quickshell/ii/modules/lock/LockSurface.qml | 3 ++- .../quickshell/ii/modules/verticalBar/VerticalBarContent.qml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/bar/BarContent.qml b/.config/quickshell/ii/modules/bar/BarContent.qml index 45656992c..7e1e885c0 100644 --- a/.config/quickshell/ii/modules/bar/BarContent.qml +++ b/.config/quickshell/ii/modules/bar/BarContent.qml @@ -297,6 +297,7 @@ Item { // Bar content region text: HyprlandXkb.currentLayoutCode font.pixelSize: Appearance.font.pixelSize.small color: rightSidebarButton.colText + animateChange: true } } MaterialSymbol { diff --git a/.config/quickshell/ii/modules/lock/LockSurface.qml b/.config/quickshell/ii/modules/lock/LockSurface.qml index 39817d19f..b623b9860 100644 --- a/.config/quickshell/ii/modules/lock/LockSurface.qml +++ b/.config/quickshell/ii/modules/lock/LockSurface.qml @@ -176,7 +176,7 @@ MouseArea { active: true visible: active - + sourceComponent: RowLayout { spacing: 8 @@ -191,6 +191,7 @@ MouseArea { StyledText { text: HyprlandXkb.currentLayoutCode color: Appearance.colors.colOnSurfaceVariant + animateChange: true } } } diff --git a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml index a69625de3..170fe1f43 100644 --- a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml +++ b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml @@ -276,6 +276,7 @@ Item { // Bar content region text: HyprlandXkb.currentLayoutCode font.pixelSize: Appearance.font.pixelSize.small color: rightSidebarButton.colText + animateChange: true } } MaterialSymbol {