use symbol font for symbols

This commit is contained in:
Damocles 2026-04-11 12:08:06 +02:00
parent 207d227342
commit b7ee4e2dbb
10 changed files with 79 additions and 32 deletions

View file

@ -2,8 +2,9 @@ import QtQuick
import Quickshell.Io
import "." as M
Text {
Row {
id: root
spacing: 2
property int freePct: 0
property real totalTb: 0
@ -30,9 +31,15 @@ Text {
onTriggered: proc.running = true
}
text: " " + root.freePct + "% " + root.totalTb.toFixed(1)
color: M.Theme.base05
font.pixelSize: M.Theme.fontSize
font.family: M.Theme.fontFamily
verticalAlignment: Text.AlignVCenter
M.BarIcon {
icon: ""
anchors.verticalCenter: parent.verticalCenter
}
Text {
text: root.freePct + "% " + root.totalTb.toFixed(1)
color: M.Theme.base05
font.pixelSize: M.Theme.fontSize
font.family: M.Theme.fontFamily
verticalAlignment: Text.AlignVCenter
}
}