use symbol font for symbols
This commit is contained in:
parent
207d227342
commit
b7ee4e2dbb
10 changed files with 79 additions and 32 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue