settings: add monochromize/tint icons toggles

This commit is contained in:
end-4
2025-08-02 16:56:19 +07:00
parent de1812bf91
commit 86d2a03a0a
@@ -95,7 +95,7 @@ ContentPage {
} }
ContentSubsection { ContentSubsection {
title: Translation.tr("Appearance") title: Translation.tr("Overall appearance")
ConfigRow { ConfigRow {
uniform: true uniform: true
ConfigSwitch { ConfigSwitch {
@@ -187,13 +187,20 @@ ContentPage {
} }
} }
ConfigSwitch { ConfigSwitch {
text: Translation.tr('Always show numbers') text: Translation.tr('Tint app icons')
checked: Config.options.bar.workspaces.alwaysShowNumbers checked: Config.options.bar.workspaces.monochromeIcons
onCheckedChanged: { onCheckedChanged: {
Config.options.bar.workspaces.alwaysShowNumbers = checked; Config.options.bar.workspaces.monochromeIcons = checked;
} }
} }
} }
ConfigSwitch {
text: Translation.tr('Always show numbers')
checked: Config.options.bar.workspaces.alwaysShowNumbers
onCheckedChanged: {
Config.options.bar.workspaces.alwaysShowNumbers = checked;
}
}
ConfigSpinBox { ConfigSpinBox {
text: Translation.tr("Workspaces shown") text: Translation.tr("Workspaces shown")
value: Config.options.bar.workspaces.shown value: Config.options.bar.workspaces.shown
@@ -216,6 +223,18 @@ ContentPage {
} }
} }
ContentSubsection {
title: Translation.tr("Tray")
ConfigSwitch {
text: Translation.tr('Tint icons')
checked: Config.options.bar.tray.monochromeIcons
onCheckedChanged: {
Config.options.bar.tray.monochromeIcons = checked;
}
}
}
ContentSubsection { ContentSubsection {
title: Translation.tr("Weather") title: Translation.tr("Weather")
ConfigSwitch { ConfigSwitch {
@@ -307,6 +326,13 @@ ContentPage {
} }
} }
} }
ConfigSwitch {
text: Translation.tr("Tint app icons")
checked: Config.options.dock.monochromeIcons
onCheckedChanged: {
Config.options.dock.monochromeIcons = checked;
}
}
} }
ContentSection { ContentSection {