mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
more icons
This commit is contained in:
@@ -58,7 +58,7 @@ NBox {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
NIconButton {
|
||||
icon: "settings"
|
||||
icon: FontService.icons["gear"]
|
||||
tooltipText: "Open settings."
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.General
|
||||
@@ -68,7 +68,7 @@ NBox {
|
||||
|
||||
NIconButton {
|
||||
id: powerButton
|
||||
icon: "power_settings_new"
|
||||
icon: FontService.icons["power"]
|
||||
tooltipText: "Power menu."
|
||||
onClicked: {
|
||||
powerPanel.open(screen)
|
||||
@@ -78,7 +78,7 @@ NBox {
|
||||
|
||||
NIconButton {
|
||||
id: closeButton
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
tooltipText: "Close side panel."
|
||||
onClicked: {
|
||||
sidePanel.close()
|
||||
|
||||
@@ -14,11 +14,18 @@ Singleton {
|
||||
property bool fontsLoaded: false
|
||||
|
||||
property var icons: {
|
||||
// weather
|
||||
"sunny": "\ue30d",
|
||||
"partly_cloudy": "\ue302",
|
||||
"cloud": "\ue312",
|
||||
"foggy": "\ue311",
|
||||
"rainy": "\ue318"
|
||||
"rainy": "\ue318",
|
||||
"snowy": "\ue319",
|
||||
"thunderstom": "\ue31d",
|
||||
|
||||
"power": "\uf011",
|
||||
"gear": "\uf013",
|
||||
"close": "\uf00D"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -241,7 +241,7 @@ Singleton {
|
||||
if (code >= 51 && code <= 67)
|
||||
return FontService.icons["rainy"]
|
||||
if (code >= 71 && code <= 77)
|
||||
return FontService.icons["weather_snowy"]
|
||||
return FontService.icons["snowy"]
|
||||
if (code >= 80 && code <= 82)
|
||||
return FontService.icons["rainy"]
|
||||
if (code >= 95 && code <= 99)
|
||||
|
||||
Reference in New Issue
Block a user