1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-30 17:42:06 -04:00

feat(system-tray): add optional monochrome icons setting (#2241)

Adds a 'Monochrome Icons' toggle to the system tray widget context menu.
When enabled, all system tray icons are desaturated using MultiEffect,
giving a cleaner monochrome bar aesthetic that matches minimal themes.

The setting is per-user (settings.json), defaults to false to preserve
existing behavior.
This commit is contained in:
Roni Laukkarinen
2026-04-20 16:15:02 +03:00
committed by GitHub
parent 4c2c193766
commit f1e3452307
4 changed files with 27 additions and 0 deletions

View File

@@ -366,6 +366,10 @@ BasePill {
smooth: true
mipmap: true
visible: status === Image.Ready
layer.enabled: SettingsData.systemTrayMonochromeIcons
layer.effect: MultiEffect {
saturation: -1
}
}
Text {
@@ -581,6 +585,10 @@ BasePill {
smooth: true
mipmap: true
visible: status === Image.Ready
layer.enabled: SettingsData.systemTrayMonochromeIcons
layer.effect: MultiEffect {
saturation: -1
}
}
Text {
@@ -709,6 +717,10 @@ BasePill {
smooth: true
mipmap: true
visible: status === Image.Ready
layer.enabled: SettingsData.systemTrayMonochromeIcons
layer.effect: MultiEffect {
saturation: -1
}
}
Text {
@@ -1210,6 +1222,10 @@ BasePill {
smooth: true
mipmap: true
visible: status === Image.Ready
layer.enabled: SettingsData.systemTrayMonochromeIcons
layer.effect: MultiEffect {
saturation: -1
}
}
Text {