mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Icons: more icons
This commit is contained in:
@@ -19,13 +19,13 @@ NIconButton {
|
||||
|
||||
function profileIcon() {
|
||||
if (!hasPP)
|
||||
return "balance"
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
if (powerProfiles.profile === PowerProfile.Performance)
|
||||
return "speed"
|
||||
return Bootstrap.icons["speedometer2"]
|
||||
if (powerProfiles.profile === PowerProfile.Balanced)
|
||||
return "balance"
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
if (powerProfiles.profile === PowerProfile.PowerSaver)
|
||||
return "eco"
|
||||
return Bootstrap.icons["leaf"]
|
||||
}
|
||||
|
||||
function profileName() {
|
||||
@@ -57,4 +57,4 @@ NIconButton {
|
||||
colorBorder: Color.transparent
|
||||
colorBorderHover: Color.transparent
|
||||
onClicked: root.changeProfile()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user