Tray, ActiveWindow: better dark mode colorization

This commit is contained in:
lysec
2025-10-24 13:32:52 +02:00
parent a5ab3aabb1
commit c9d3aedf39
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ Item {
SplitParser {
id: textStdoutSplit
onRead: function(line) {
onRead: function (line) {
var lineStr = String(line || "").trim()
var shouldCollapse = false
+1 -1
View File
@@ -136,7 +136,7 @@ Rectangle {
// Apply dock shader to all taskbar icons
layer.enabled: widgetSettings.colorizeIcons !== false
layer.effect: ShaderEffect {
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mSurface : Color.mSurfaceVariant
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant
property real colorizeMode: 0.0 // Dock mode (grayscale)
fragmentShader: Qt.resolvedUrl(Quickshell.shellDir + "/Shaders/qsb/appicon_colorize.frag.qsb")
+2 -2
View File
@@ -194,8 +194,8 @@ Rectangle {
layer.enabled: widgetSettings.colorizeIcons !== false
layer.effect: ShaderEffect {
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mSurface : Color.mSurfaceVariant
property real colorizeMode: 1.0 // Tray mode (intensity-based)
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant
property real colorizeMode: 1.0
fragmentShader: Qt.resolvedUrl(Quickshell.shellDir + "/Shaders/qsb/appicon_colorize.frag.qsb")
}