From 1f9247c429a3c101243322c3d5b1cf32d5dd954f Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 9 Sep 2025 19:34:31 -0400 Subject: [PATCH] More icons fixes --- Commons/IconsSets/TablerIcons.qml | 20 +++++++++----------- Modules/Bar/Extras/TrayMenu.qml | 2 +- Modules/BluetoothPanel/BluetoothPanel.qml | 2 +- Modules/Dock/Dock.qml | 5 ++--- Modules/SidePanel/Cards/MediaCard.qml | 2 +- Modules/WiFiPanel/WiFiPanel.qml | 2 +- Services/NetworkService.qml | 3 +-- 7 files changed, 16 insertions(+), 20 deletions(-) diff --git a/Commons/IconsSets/TablerIcons.qml b/Commons/IconsSets/TablerIcons.qml index 69fb683..e562d76 100644 --- a/Commons/IconsSets/TablerIcons.qml +++ b/Commons/IconsSets/TablerIcons.qml @@ -15,15 +15,17 @@ Singleton { "refresh": "refresh", "add": "plus", "trash": "trash-filled", + "menu": "menu-2", "toast-notice": "circle-check", "toast-warning": "exclamation-circle", + "question-mark": "question-mark", + "search": "search", "warning": "exclamation-circle", "stop": "player-stop-filled", "media-pause": "player-pause", "media-play": "player-play", "media-prev": "player-track-prev", "media-next": "player-track-next", - "cpu-usage": "brand-speedtest", "cpu-temperature": "flame", "memory": "cpu", @@ -35,19 +37,11 @@ Singleton { "storage": "device-floppy", "ethernet": "plug-connected", "keyboard": "keyboard", - "shutdown": "power", "lock": "lock", "logout": "logout", "reboot": "refresh", "suspend": "player-pause-filled", - - - "wifi-0": "wifi-0", - "wifi-1": "wifi-1", - "wifi-2": "wifi-2", - "wifi-off": "wifi-off", - "wifi": "wifi", "nightlight-on": "moon-filled", "nightlight-off": "moon-off", "bell": "bell-filled", @@ -70,6 +64,11 @@ Singleton { "battery-2": "battery-2", "battery-1": "battery-1", "battery": "battery", + "wifi-0": "wifi-0", + "wifi-1": "wifi-1", + "wifi-2": "wifi-2", + "wifi-off": "wifi-off", + "wifi": "wifi", "microphone": "microphone", "microphone-mute": "microphone-off", "volume-mute": "volume-off", @@ -99,7 +98,6 @@ Singleton { "settings-screen-recorder": "video", "settings-hooks": "link", "settings-about": "info-square-rounded", - "bluetooth": "bluetooth", "bt-device-generic": "bluetooth", "bt-device-headphones": "headphones-filled", @@ -108,7 +106,7 @@ Singleton { "bt-device-phone": "device-mobile-filled", "bt-device-watch": "device-watch", "bt-device-speaker": "device-speaker", - "bt-device-tv": "device-tv", + "bt-device-tv": "device-tv" } readonly property var icons: { diff --git a/Modules/Bar/Extras/TrayMenu.qml b/Modules/Bar/Extras/TrayMenu.qml index d0f6ab3..c1582ec 100644 --- a/Modules/Bar/Extras/TrayMenu.qml +++ b/Modules/Bar/Extras/TrayMenu.qml @@ -176,7 +176,7 @@ PopupWindow { } NIcon { - text: modelData?.hasChildren ? "menu" : "" + icon: modelData?.hasChildren ? "menu" : "" font.pointSize: Style.fontSizeS * scaling verticalAlignment: Text.AlignVCenter visible: modelData?.hasChildren ?? false diff --git a/Modules/BluetoothPanel/BluetoothPanel.qml b/Modules/BluetoothPanel/BluetoothPanel.qml index 02656b5..4f2cca9 100644 --- a/Modules/BluetoothPanel/BluetoothPanel.qml +++ b/Modules/BluetoothPanel/BluetoothPanel.qml @@ -146,7 +146,7 @@ NPanel { spacing: Style.marginXS * scaling NIcon { - text: "sync" + icon: "refresh" font.pointSize: Style.fontSizeXXL * 1.5 * scaling color: Color.mPrimary diff --git a/Modules/Dock/Dock.qml b/Modules/Dock/Dock.qml index faabbd9..44d1845 100644 --- a/Modules/Dock/Dock.qml +++ b/Modules/Dock/Dock.qml @@ -256,11 +256,10 @@ Variants { } // Fall back if no icon - NText { + NIcon { anchors.centerIn: parent visible: !appIcon.visible - text: "question_mark" - font.family: "Material Symbols Rounded" + icon: "question-mark" font.pointSize: iconSize * 0.7 color: appButton.isActive ? Color.mPrimary : Color.mOnSurfaceVariant scale: appButton.hovered ? 1.15 : 1.0 diff --git a/Modules/SidePanel/Cards/MediaCard.qml b/Modules/SidePanel/Cards/MediaCard.qml index e78617b..be2f2df 100644 --- a/Modules/SidePanel/Cards/MediaCard.qml +++ b/Modules/SidePanel/Cards/MediaCard.qml @@ -89,7 +89,7 @@ NBox { indicator: NIcon { x: playerSelector.width - width y: playerSelector.topPadding + (playerSelector.availableHeight - height) / 2 - text: "arrow_drop_down" + icon: "chevron-down" font.pointSize: Style.fontSizeXXL * scaling color: Color.mOnSurface horizontalAlignment: Text.AlignRight diff --git a/Modules/WiFiPanel/WiFiPanel.qml b/Modules/WiFiPanel/WiFiPanel.qml index 9cf6a78..7d49a37 100644 --- a/Modules/WiFiPanel/WiFiPanel.qml +++ b/Modules/WiFiPanel/WiFiPanel.qml @@ -521,7 +521,7 @@ NPanel { RowLayout { NIcon { - text: "delete_outline" + icon: "trash" font.pointSize: Style.fontSizeL * scaling color: Color.mError } diff --git a/Services/NetworkService.qml b/Services/NetworkService.qml index 8339834..31f9a9e 100644 --- a/Services/NetworkService.qml +++ b/Services/NetworkService.qml @@ -257,7 +257,7 @@ Singleton { Process { id: wifiStateEnableProcess running: false - command: ["nmcli", "radio", "wifi", Settings.data.network.wifiEnabled ? "on" : "off"] + command: ["nmcli", "radio", "wifi", Settings.data.network.wifiEnabled ? "on" : "off"] stdout: StdioCollector { onStreamFinished: { @@ -276,7 +276,6 @@ Singleton { } } - // Helper process to get existing profiles Process { id: profileCheckProcess