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

@ -42,16 +42,21 @@ Row {
onTriggered: proc.running = true
}
Text {
text: {
M.BarIcon {
icon: {
if (root.state === "wifi")
return " " + root.essid;
return "";
if (root.state === "eth")
return "󰈀";
if (root.state === "linked")
return "󱘖";
return "󰣽";
}
anchors.verticalCenter: parent.verticalCenter
}
Text {
visible: root.state === "wifi"
text: root.essid
color: M.Theme.base05
font.pixelSize: M.Theme.fontSize + 1
font.family: M.Theme.fontFamily