forked from Shinonome/dots-hyprland
animate xkb layout indicator change
This commit is contained in:
@@ -297,6 +297,7 @@ Item { // Bar content region
|
||||
text: HyprlandXkb.currentLayoutCode
|
||||
font.pixelSize: Appearance.font.pixelSize.small
|
||||
color: rightSidebarButton.colText
|
||||
animateChange: true
|
||||
}
|
||||
}
|
||||
MaterialSymbol {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,6 +276,7 @@ Item { // Bar content region
|
||||
text: HyprlandXkb.currentLayoutCode
|
||||
font.pixelSize: Appearance.font.pixelSize.small
|
||||
color: rightSidebarButton.colText
|
||||
animateChange: true
|
||||
}
|
||||
}
|
||||
MaterialSymbol {
|
||||
|
||||
Reference in New Issue
Block a user