Adjustable translucensy - #889
Open
snaggen wants to merge 2 commits into
Open
Conversation
snaggen
force-pushed
the
adjustable_translucensy
branch
from
July 28, 2026 06:53
74eccd0 to
d007be8
Compare
Contributor
Author
|
Did some cleanup. And made frosted glass default opacity use BlurStrength::VeryLow by default since that seems to adjust after the users theme. |
Contributor
Author
|
I wonder if it is better to add a separate slider and a blur_opacity setting, to be used only for frosted glass, where the slider have distinct steps matching the BlurStrenght enums. That way the blur opacity will always be relative the setting in cosmic-settings. Right now, it is relative to that until you change the value, then it gets fixed. |
snaggen
force-pushed
the
adjustable_translucensy
branch
from
July 28, 2026 11:08
d007be8 to
b3cd96f
Compare
Contributor
Author
|
I implemented a separate slider and config to keep the blur opacity relative the main blur settings. |
snaggen
force-pushed
the
adjustable_translucensy
branch
from
August 22, 2026 10:16
b3cd96f to
f661581
Compare
Reverts a43b5ae, which dropped the dimming of the terminal background when the window or pane is not focused. Only the shading is restored; nothing else in that commit changed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The opacity setting was ignored and its slider hidden while the compositor's frosted glass effect was active, leaving no way to adjust translucency in that mode. Add a separate `blur_opacity` setting for that mode. It holds a level in the theme's alpha map rather than a percentage, so it keeps following the system-wide blur settings, and is resolved against the running theme where it is applied — both lookups are matches on borrowed data, cheap enough to do while rendering. Its slider steps through the levels in the opposite order, since a higher blur strength means a lower alpha, and carries no value label because the level is not an absolute opacity. The default is `VeryLow`: translucent, but several steps more opaque than the theme's own `frosted`, which is tuned for containers behind other content rather than for terminal text. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
snaggen
force-pushed
the
adjustable_translucensy
branch
from
August 22, 2026 10:29
f661581 to
fef740e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have, with the help of Claude Code, made a fix for #878 . Now the opacity configuration is now shown for frosted glass effect, but defaults to the opacity value for the Primary layer and not the Background layer which it was previously. I think Primary might be a bit low, but it is a lot better than using the same as the Background layer. I also restored the non-focus tint.