Build the Panama Hyprland desktop
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// A single status icon in StatusCluster. Fixed width so the cluster doesn't
|
||||
// shuffle sideways every time a glyph swaps for a wider one.
|
||||
|
||||
import QtQuick
|
||||
import qs.config
|
||||
|
||||
Text {
|
||||
id: root
|
||||
|
||||
required property string glyph
|
||||
|
||||
anchors.verticalCenter: parent?.verticalCenter ?? undefined
|
||||
|
||||
text: root.glyph
|
||||
font.family: Theme.fontMono
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
width: 18
|
||||
color: Theme.fg
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Theme.durFast
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user