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
|
text: HyprlandXkb.currentLayoutCode
|
||||||
font.pixelSize: Appearance.font.pixelSize.small
|
font.pixelSize: Appearance.font.pixelSize.small
|
||||||
color: rightSidebarButton.colText
|
color: rightSidebarButton.colText
|
||||||
|
animateChange: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MaterialSymbol {
|
MaterialSymbol {
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ MouseArea {
|
|||||||
StyledText {
|
StyledText {
|
||||||
text: HyprlandXkb.currentLayoutCode
|
text: HyprlandXkb.currentLayoutCode
|
||||||
color: Appearance.colors.colOnSurfaceVariant
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
|
animateChange: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -276,6 +276,7 @@ Item { // Bar content region
|
|||||||
text: HyprlandXkb.currentLayoutCode
|
text: HyprlandXkb.currentLayoutCode
|
||||||
font.pixelSize: Appearance.font.pixelSize.small
|
font.pixelSize: Appearance.font.pixelSize.small
|
||||||
color: rightSidebarButton.colText
|
color: rightSidebarButton.colText
|
||||||
|
animateChange: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MaterialSymbol {
|
MaterialSymbol {
|
||||||
|
|||||||
Reference in New Issue
Block a user