mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
icons: updated alias + slightly changed the icons logic for battery
This commit is contained in:
@@ -78,7 +78,7 @@ Singleton {
|
||||
"star": "star",
|
||||
"star-off": "star-off",
|
||||
"battery-exclamation": "battery-exclamation",
|
||||
"common.charging": "common.charging",
|
||||
"battery.charging": "battery.charging",
|
||||
"battery-charging-2": "battery-charging-2",
|
||||
"battery-4": "battery-4",
|
||||
"battery-3": "battery-3",
|
||||
@@ -177,7 +177,8 @@ Singleton {
|
||||
"filepicker-eye-off": "eye-off",
|
||||
"filepicker-folder-current": "checks",
|
||||
"plugin": "plug-connected",
|
||||
"info": "file-description"
|
||||
"info": "file-description",
|
||||
"official-plugin": "shield-filled"
|
||||
}
|
||||
|
||||
// Fonts Codepoints - do not change!
|
||||
@@ -747,7 +748,7 @@ Singleton {
|
||||
"battery-4-filled": "\u{f721}",
|
||||
"battery-automotive": "\u{ee07}",
|
||||
"battery-automotive-filled": "\u{10029}",
|
||||
"common.charging": "\u{ea33}",
|
||||
"battery.charging": "\u{ea33}",
|
||||
"battery-charging-2": "\u{ef3b}",
|
||||
"battery-eco": "\u{ef3c}",
|
||||
"battery-exclamation": "\u{ff1d}",
|
||||
|
||||
@@ -215,7 +215,7 @@ ColumnLayout {
|
||||
spacing: Style.marginXS
|
||||
|
||||
NIcon {
|
||||
icon: "rosette-discount-check"
|
||||
icon: "official-plugin"
|
||||
pointSize: Style.fontSizeXXS
|
||||
color: Color.mOnSecondary
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ ColumnLayout {
|
||||
spacing: Style.marginXS
|
||||
|
||||
NIcon {
|
||||
icon: "rosette-discount-check"
|
||||
icon: "official-plugin"
|
||||
pointSize: Style.fontSizeXXS
|
||||
color: Color.mOnSecondary
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ Singleton {
|
||||
return "battery-exclamation";
|
||||
}
|
||||
if (charging) {
|
||||
return "common.charging";
|
||||
return "battery-charging";
|
||||
}
|
||||
if (pluggedIn) {
|
||||
return "battery-charging-2";
|
||||
@@ -142,10 +142,10 @@ Singleton {
|
||||
if (percent >= 90) {
|
||||
return "battery-4";
|
||||
}
|
||||
if (percent >= 50) {
|
||||
if (percent >= 60) {
|
||||
return "battery-3";
|
||||
}
|
||||
if (percent >= 25) {
|
||||
if (percent >= 30) {
|
||||
return "battery-2";
|
||||
}
|
||||
if (percent >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user