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 {
title: Translation.tr("Appearance")
title: Translation.tr("Overall appearance")
ConfigRow {
uniform: true
ConfigSwitch {
@@ -187,13 +187,20 @@ ContentPage {
}
}
ConfigSwitch {
text: Translation.tr('Always show numbers')
checked: Config.options.bar.workspaces.alwaysShowNumbers
text: Translation.tr('Tint app icons')
checked: Config.options.bar.workspaces.monochromeIcons
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 {
text: Translation.tr("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 {
title: Translation.tr("Weather")
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 {