quickshell: glance captions under values

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-07-28 20:18:32 +01:00
parent bf1ed23d4f
commit 87165b5a62

View file

@ -1838,12 +1838,6 @@ in
Column {
anchors.horizontalCenter: parent.horizontalCenter
spacing: 0
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: "cpu"
font.pixelSize: 9
color: Theme.base03
}
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: srvWidget.connected ? Math.round(srvWidget.cpu) + "%" : "--"
@ -1851,17 +1845,17 @@ in
font.weight: Font.Medium
color: srvWidget.connected ? Theme.base0D : Theme.base03
}
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: "cpu"
font.pixelSize: 9
color: Theme.base03
}
}
Column {
anchors.horizontalCenter: parent.horizontalCenter
spacing: 0
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: "ram"
font.pixelSize: 9
color: Theme.base03
}
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: srvWidget.connected && srvWidget.memTotal > 0
@ -1870,6 +1864,12 @@ in
font.weight: Font.Medium
color: srvWidget.connected ? Theme.base0C : Theme.base03
}
SText {
anchors.horizontalCenter: parent.horizontalCenter
text: "ram"
font.pixelSize: 9
color: Theme.base03
}
}
Column {