Default skull icon
This commit is contained in:
parent
6f4a4bb764
commit
6169f88d90
9 changed files with 42 additions and 31 deletions
|
|
@ -9,7 +9,7 @@ NIconButton {
|
|||
property ShellScreen screen
|
||||
property real scaling: 1.0
|
||||
|
||||
icon: "contrast"
|
||||
icon: FontService.icons["contrast"]
|
||||
tooltipText: "Toggle light/dark mode"
|
||||
sizeRatio: 0.8
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ NIconButton {
|
|||
|
||||
sizeRatio: 0.8
|
||||
|
||||
icon: "coffee"
|
||||
icon: FontService.icons["coffee"]
|
||||
tooltipText: IdleInhibitorService.isInhibited ? "Disable keep awake" : "Enable keep awake"
|
||||
colorBg: Color.mSurfaceVariant
|
||||
colorFg: IdleInhibitorService.isInhibited ? Color.mPrimary : Color.mOnSurface
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ RowLayout {
|
|||
|
||||
NIcon {
|
||||
id: cpuUsageIcon
|
||||
text: "speed"
|
||||
text: FontService.icons["speed"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ RowLayout {
|
|||
visible: showCpuTemp
|
||||
|
||||
NIcon {
|
||||
text: "thermometer"
|
||||
text: FontService.icons["thermometer"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ RowLayout {
|
|||
visible: showMemoryUsage
|
||||
|
||||
NIcon {
|
||||
text: "memory"
|
||||
text: FontService.icons["memory"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ RowLayout {
|
|||
visible: showNetworkStats
|
||||
|
||||
NIcon {
|
||||
text: "download"
|
||||
text: FontService.icons["download"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ RowLayout {
|
|||
visible: showNetworkStats
|
||||
|
||||
NIcon {
|
||||
text: "upload"
|
||||
text: FontService.icons["upload"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,9 +43,11 @@ Item {
|
|||
|
||||
function getIcon() {
|
||||
if (AudioService.muted) {
|
||||
return FontService.icons["volume_off"] // TODO disabled icon ?
|
||||
return FontService.icons["volume_off"] // TODO disabled icon ?
|
||||
}
|
||||
return AudioService.volume <= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume < 0.5 ? FontService.icons["volume_half"]: FontService.icons["volume_full"])
|
||||
return AudioService.volume
|
||||
<= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume
|
||||
< 0.5 ? FontService.icons["volume_half"] : FontService.icons["volume_full"])
|
||||
}
|
||||
|
||||
// Connection used to open the pill when volume changes
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ NIconButton {
|
|||
icon: {
|
||||
try {
|
||||
if (NetworkService.ethernetConnected) {
|
||||
return "lan"
|
||||
return FontService.icons["ethernet"]
|
||||
}
|
||||
let connected = false
|
||||
let signalStrength = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue