From 207d227342ed2ca5f3b14bd38da95ff7cff72ccb Mon Sep 17 00:00:00 2001 From: Damocles Date: Sat, 11 Apr 2026 00:46:47 +0200 Subject: [PATCH] undo font --- modules/Backlight.qml | 2 +- modules/BarIcon.qml | 2 +- modules/Bluetooth.qml | 2 +- modules/Cpu.qml | 2 +- modules/Disk.qml | 2 +- modules/Memory.qml | 2 +- modules/Network.qml | 2 +- modules/Temperature.qml | 2 +- modules/Theme.qml | 3 --- nix/hm-module.nix | 1 - 10 files changed, 8 insertions(+), 12 deletions(-) diff --git a/modules/Backlight.qml b/modules/Backlight.qml index 4f33b24..8eddbf2 100644 --- a/modules/Backlight.qml +++ b/modules/Backlight.qml @@ -33,7 +33,7 @@ Row { text: root.percent + "% " color: M.Theme.base05 font.pixelSize: M.Theme.fontSize - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily anchors.verticalCenter: parent.verticalCenter } } diff --git a/modules/BarIcon.qml b/modules/BarIcon.qml index 82a4df5..965e2ab 100644 --- a/modules/BarIcon.qml +++ b/modules/BarIcon.qml @@ -7,6 +7,6 @@ Text { text: icon color: M.Theme.base05 font.pixelSize: M.Theme.fontSize + 1 - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily verticalAlignment: Text.AlignVCenter } diff --git a/modules/Bluetooth.qml b/modules/Bluetooth.qml index 51fb5bf..c6e530e 100644 --- a/modules/Bluetooth.qml +++ b/modules/Bluetooth.qml @@ -32,7 +32,7 @@ Row { text: root.status === "connected" ? (" " + root.device) : "" color: M.Theme.base05 font.pixelSize: M.Theme.fontSize + 1 - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily anchors.verticalCenter: parent.verticalCenter } } diff --git a/modules/Cpu.qml b/modules/Cpu.qml index bc62490..b372566 100644 --- a/modules/Cpu.qml +++ b/modules/Cpu.qml @@ -54,6 +54,6 @@ Text { text: " " + root.usage.toString().padStart(2) + "%@" + root.freqGhz.toFixed(2) color: M.Theme.base05 font.pixelSize: M.Theme.fontSize - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily verticalAlignment: Text.AlignVCenter } diff --git a/modules/Disk.qml b/modules/Disk.qml index 4ac0095..39969e0 100644 --- a/modules/Disk.qml +++ b/modules/Disk.qml @@ -33,6 +33,6 @@ Text { text: " " + root.freePct + "% " + root.totalTb.toFixed(1) color: M.Theme.base05 font.pixelSize: M.Theme.fontSize - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily verticalAlignment: Text.AlignVCenter } diff --git a/modules/Memory.qml b/modules/Memory.qml index bc49f48..851e850 100644 --- a/modules/Memory.qml +++ b/modules/Memory.qml @@ -33,6 +33,6 @@ Text { text: " " + root.percent + "%" color: M.Theme.base05 font.pixelSize: M.Theme.fontSize - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily verticalAlignment: Text.AlignVCenter } diff --git a/modules/Network.qml b/modules/Network.qml index d323e76..65d07e8 100644 --- a/modules/Network.qml +++ b/modules/Network.qml @@ -54,7 +54,7 @@ Row { } color: M.Theme.base05 font.pixelSize: M.Theme.fontSize + 1 - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily anchors.verticalCenter: parent.verticalCenter } } diff --git a/modules/Temperature.qml b/modules/Temperature.qml index 3ed517e..59c40b4 100644 --- a/modules/Temperature.qml +++ b/modules/Temperature.qml @@ -22,6 +22,6 @@ Text { text: " " + root.celsius + "°C" color: root.celsius > 80 ? M.Theme.base08 : M.Theme.base05 font.pixelSize: M.Theme.fontSize - font.family: M.Theme.iconFontFamily + font.family: M.Theme.fontFamily verticalAlignment: Text.AlignVCenter } diff --git a/modules/Theme.qml b/modules/Theme.qml index e83e2fd..ef4972e 100644 --- a/modules/Theme.qml +++ b/modules/Theme.qml @@ -26,7 +26,6 @@ QtObject { property color base0F: "#f2cdcd" property string fontFamily: "sans-serif" - property string iconFontFamily: "Symbols Nerd Font Mono" property int fontSize: 12 property real barOpacity: 0.9 property int barHeight: 32 @@ -52,8 +51,6 @@ QtObject { } if (data.fontFamily) root.fontFamily = data.fontFamily; - if (data.iconFontFamily) - root.iconFontFamily = data.iconFontFamily; if (data.fontSize) root.fontSize = data.fontSize; if (data.barOpacity !== undefined) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index bb785da..f7feb2d 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -37,7 +37,6 @@ let ; }; fontFamily = f.sansSerif.name; - iconFontFamily = f.monospace.name; fontSize = f.sizes.desktop; barOpacity = 1.0 - config.stylix.opacity.desktop; }