mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Icons: Brightness and battery
This commit is contained in:
@@ -85,7 +85,7 @@ NBox {
|
||||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "add"
|
||||
icon: FontService.icons["add"]
|
||||
|
||||
colorBg: Color.mPrimary
|
||||
colorFg: Color.mOnPrimary
|
||||
|
||||
@@ -120,7 +120,7 @@ Popup {
|
||||
|
||||
NButton {
|
||||
text: "Apply"
|
||||
icon: "check"
|
||||
icon: FontService.icons["check"]
|
||||
onClicked: {
|
||||
if (settingsLoader.item && settingsLoader.item.saveSettings) {
|
||||
var newSettings = settingsLoader.item.saveSettings()
|
||||
|
||||
@@ -59,7 +59,7 @@ ColumnLayout {
|
||||
NToggle {
|
||||
id: showMemoryAsPercent
|
||||
Layout.fillWidth: true
|
||||
label: "Show memory as percentage"
|
||||
label: "Memory as percentage"
|
||||
checked: valueShowMemoryAsPercent
|
||||
onToggled: checked => valueShowMemoryAsPercent = checked
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ NPanel {
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.ColorScheme,
|
||||
"label": "Color Scheme",
|
||||
"icon": "paint_bucket",
|
||||
"icon": "paint_drop",
|
||||
"source": colorSchemeTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Wallpaper,
|
||||
@@ -190,7 +190,7 @@ NPanel {
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Hooks,
|
||||
"label": "Hooks",
|
||||
"icon": "cable",
|
||||
"icon": "link",
|
||||
"source": hooksTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.About,
|
||||
|
||||
@@ -172,7 +172,7 @@ ColumnLayout {
|
||||
imagePath: modelData.avatar_url || ""
|
||||
anchors.fill: parent
|
||||
anchors.margins: Style.marginXS * scaling
|
||||
fallbackIcon: "person"
|
||||
fallbackIcon: FontService.icons["person"]
|
||||
borderColor: contributorArea.containsMouse ? Color.mOnTertiary : Color.mPrimary
|
||||
borderWidth: Math.max(1, Style.borderM * scaling)
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ ColumnLayout {
|
||||
|
||||
// Button aligned to the center of the actual input field
|
||||
NIconButton {
|
||||
icon: "add"
|
||||
icon: FontService.icons["add"]
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
Layout.bottomMargin: blacklistInput.description ? Style.marginS * scaling : 0
|
||||
onClicked: {
|
||||
|
||||
@@ -19,7 +19,7 @@ ColumnLayout {
|
||||
width: 108 * scaling
|
||||
height: 108 * scaling
|
||||
imagePath: Settings.data.general.avatarImage
|
||||
fallbackIcon: "person"
|
||||
fallbackIcon: FontService.icons["person"]
|
||||
borderColor: Color.mPrimary
|
||||
borderWidth: Math.max(1, Style.borderM * scaling)
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
@@ -59,7 +59,7 @@ ColumnLayout {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Style.marginXS * scaling
|
||||
imagePath: currentWallpaper
|
||||
fallbackIcon: "image"
|
||||
fallbackIcon: FontService.icons["image"]
|
||||
imageRadius: Style.radiusM * scaling
|
||||
borderColor: Color.mSecondary
|
||||
borderWidth: Style.borderL * 2 * scaling
|
||||
|
||||
Reference in New Issue
Block a user