More icons fixes

This commit is contained in:
LemmyCook 2025-09-09 19:34:31 -04:00
parent d089966249
commit 1f9247c429
7 changed files with 16 additions and 20 deletions

View file

@ -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: {

View file

@ -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

View file

@ -146,7 +146,7 @@ NPanel {
spacing: Style.marginXS * scaling
NIcon {
text: "sync"
icon: "refresh"
font.pointSize: Style.fontSizeXXL * 1.5 * scaling
color: Color.mPrimary

View file

@ -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

View file

@ -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

View file

@ -521,7 +521,7 @@ NPanel {
RowLayout {
NIcon {
text: "delete_outline"
icon: "trash"
font.pointSize: Style.fontSizeL * scaling
color: Color.mError
}

View file

@ -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