diff --git a/shell/applets/WeatherApplet.qml b/shell/applets/WeatherApplet.qml index 9cd5ad2..0421bf5 100644 --- a/shell/applets/WeatherApplet.qml +++ b/shell/applets/WeatherApplet.qml @@ -22,12 +22,11 @@ Column { } } - // Forecast details from wttrbar tooltip (may contain HTML from waybar format) + // Forecast details from wttrbar tooltip Text { width: parent.width - 24 anchors.horizontalCenter: parent.horizontalCenter text: S.WeatherService.tooltip - textFormat: Text.RichText color: S.Theme.base05 font.pixelSize: S.Theme.fontSize - 2 font.family: S.Theme.fontFamily diff --git a/shell/modules/lock_threat.frag b/shell/modules/lock_threat.frag index a37f0fe..9f5a39c 100644 --- a/shell/modules/lock_threat.frag +++ b/shell/modules/lock_threat.frag @@ -35,18 +35,18 @@ void main() { // Vignette - radial darkening from edges, creeping inward with threat vec2 center = uv - 0.5; float dist = length(center * vec2(1.0, 0.7)); // wider horizontally - // Inner edge shrinks as threat rises (0.8 -> 0.35) - float vigInner = mix(0.8, 0.35, intensity); - // Outer edge also shrinks (1.1 -> 0.7) - float vigOuter = mix(1.1, 0.7, intensity); + // Inner edge shrinks as threat rises (0.7 -> 0.25) + float vigInner = mix(0.7, 0.25, intensity); + // Outer edge also shrinks (1.0 -> 0.6) + float vigOuter = mix(1.0, 0.6, intensity); float vig = smoothstep(vigInner, vigOuter, dist); - // Red tint on the vignette area - translucent blend + // Red tint on the vignette area vec3 threatColor = uColor.rgb; - vec3 tinted = mix(tex.rgb, threatColor * 0.12, vig * intensity * 0.6); + vec3 tinted = mix(tex.rgb, threatColor * 0.15, vig * intensity); - // Darken edges - softer - tinted *= 1.0 - vig * intensity * 0.35; + // Darken edges + tinted *= 1.0 - vig * intensity * 0.7; fragColor = vec4(tinted, tex.a) * qt_Opacity; }