All power icons

This commit is contained in:
LemmyCook 2025-09-09 18:30:44 -04:00
parent 7adc7f43cc
commit 22dd2bf75c
3 changed files with 18 additions and 11 deletions

View file

@ -12,14 +12,16 @@ Singleton {
"close": "x", "close": "x",
"check": "check", "check": "check",
"settings": "settings", "settings": "settings",
"refresh": "refresh",
"add": "plus", "add": "plus",
"circle-check": "circle-check", "circle-check": "circle-check",
"exclamation-circle": "exclamation-circle", "exclamation-circle": "exclamation-circle",
"stop": "player-stop-filled",
"media-pause": "player-pause", "media-pause": "player-pause",
"media-play": "player-play", "media-play": "player-play",
"media-prev": "player-track-prev", "media-prev": "player-track-prev",
"media-next": "player-track-next", "media-next": "player-track-next",
"refresh": "refresh",
"cpu-usage": "brand-speedtest", "cpu-usage": "brand-speedtest",
"cpu-temperature": "flame", "cpu-temperature": "flame",
"memory": "cpu", "memory": "cpu",
@ -29,11 +31,16 @@ Singleton {
"download-speed": "download", "download-speed": "download",
"upload-speed": "upload", "upload-speed": "upload",
"storage": "device-floppy", "storage": "device-floppy",
"ethernet": "network", "ethernet": "network",
"keyboard": "keyboard", "keyboard": "keyboard",
"power": "power",
"shutdown": "power",
"lock": "lock", "lock": "lock",
"logout": "logout",
"reboot": "refresh",
"suspend": "player-pause-filled",
"wifi-0": "wifi-0", "wifi-0": "wifi-0",
"wifi-1": "wifi-1", "wifi-1": "wifi-1",
"wifi-2": "wifi-2", "wifi-2": "wifi-2",

View file

@ -730,7 +730,7 @@ Loader {
NIcon { NIcon {
id: iconPower id: iconPower
anchors.centerIn: parent anchors.centerIn: parent
icon: "power" icon: "shutdown"
font.pointSize: Style.fontSizeXXXL * scaling font.pointSize: Style.fontSizeXXXL * scaling
color: powerButtonArea.containsMouse ? Color.mOnError : Color.mError color: powerButtonArea.containsMouse ? Color.mOnError : Color.mError
} }
@ -781,7 +781,7 @@ Loader {
NIcon { NIcon {
id: iconReboot id: iconReboot
anchors.centerIn: parent anchors.centerIn: parent
icon: "refresh" icon: "reboot"
font.pointSize: Style.fontSizeXXXL * scaling font.pointSize: Style.fontSizeXXXL * scaling
color: restartButtonArea.containsMouse ? Color.mOnPrimary : Color.mPrimary color: restartButtonArea.containsMouse ? Color.mOnPrimary : Color.mPrimary
} }
@ -833,7 +833,7 @@ Loader {
NIcon { NIcon {
id: iconSuspend id: iconSuspend
anchors.centerIn: parent anchors.centerIn: parent
icon: "pause-fill" icon: "suspend"
font.pointSize: Style.fontSizeXXXL * scaling font.pointSize: Style.fontSizeXXXL * scaling
color: suspendButtonArea.containsMouse ? Color.mOnSecondary : Color.mSecondary color: suspendButtonArea.containsMouse ? Color.mOnSecondary : Color.mSecondary
} }

View file

@ -34,22 +34,22 @@ NPanel {
"subtitle": "Lock your session" "subtitle": "Lock your session"
}, { }, {
"action": "suspend", "action": "suspend",
"icon": "pause-circle", "icon": "suspend",
"title": "Suspend", "title": "Suspend",
"subtitle": "Put the system to sleep" "subtitle": "Put the system to sleep"
}, { }, {
"action": "reboot", "action": "reboot",
"icon": "refresh", "icon": "reboot",
"title": "Reboot", "title": "Reboot",
"subtitle": "Restart the system" "subtitle": "Restart the system"
}, { }, {
"action": "logout", "action": "logout",
"icon": "escape", "icon": "logout",
"title": "Logout", "title": "Logout",
"subtitle": "End your session" "subtitle": "End your session"
}, { }, {
"action": "shutdown", "action": "shutdown",
"icon": "power", "icon": "shutdown",
"title": "Shutdown", "title": "Shutdown",
"subtitle": "Turn off the system", "subtitle": "Turn off the system",
"isShutdown": true "isShutdown": true
@ -276,7 +276,7 @@ NPanel {
} }
NIconButton { NIconButton {
icon: timerActive ? "x-square" : "close" icon: timerActive ? "stop" : "close"
tooltipText: timerActive ? "Cancel Timer" : "Close" tooltipText: timerActive ? "Cancel Timer" : "Close"
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
colorBg: timerActive ? Qt.alpha(Color.mError, 0.08) : Color.transparent colorBg: timerActive ? Qt.alpha(Color.mError, 0.08) : Color.transparent