SierraBreeze
SierraBreeze copied to clipboard
[Suggestion] Add blur support
Make it an option to make the titlebar transparent and add blur behind it.
I think this property has to be added to the titlebar code somewhere:
_KDE_NET_WM_BLUR_BEHIND_REGION
For example if I want to add blur behind Konsole, first I make the background transparent in the appearance settings, then I add this to the ~/.bashrc file:
if [[ $(ps --no-header -p $PPID -o comm) =~ yakuake|konsole ]]; then
for wid in $(xdotool search --pid $PPID); do
xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $wid; done
fi
I would love this! Especially since Konsole has a blue feature in the next release! :D
@ishovkun I created a blurred Breeze theme: https://github.com/alex47/BreezeBlurred If you want to implement it in SierraBreeze you can use this as guidance.
@alex47 Thanks for the suggestion. My laptop is currently broke so I can't work on SierraBreeze for the time being. It will be a while before I get back on the Linux hacking track.
By the way this is how Konsole looks with my theme + my new blur
I think it's worth implementing transparency
@alex47 Is there a way to have opacity in window decorations as a window rule? If so, I would give this option a go.
@ishovkun I don't think so.
But it doesn't take much effort to implement it.
All you have to change is in breezedecoration.cpp Decoration::paint(
add m_windowColor.setAlpha( m_opacityValue );
( like here )
Handling the `m_opacityValue' variable to be user customizable is a little bit more code though.
And then in breeze.json change it to "blur": true,
You could even do a fullglass effect with it in Konsole:
@alex47 This looks fantastic! But my point is that if I only have one window with transparency, the decorations wouldn't blend that well with other apps, such as dolphin. This issue limits the use case of transparent decorations for me.
@alex47 Perhaps, we need to request an upstream change from Plasma devs. Wanna give it a try?
This would be a very specific change for a very specific user theme. I don't think plasma devs would implement it.
Not really. If this feature becomes a part of Breeze, this will work out. A large portion of plasma settings (titlebar colors) are breeze-specific.
On Thu, May 3, 2018 at 5:37 AM, alex47 [email protected] wrote:
This would be a very specific change for a very specific user theme. I don't think plasma devs would implement it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ishovkun/SierraBreeze/issues/10#issuecomment-386254167, or mute the thread https://github.com/notifications/unsubscribe-auth/AKozf_3xRqUtZv-xvEUEYYBfe6mFPOcLks5tut3qgaJpZM4RMXPf .
--
Best regards,
Igor.
I remember I had blur effect on Konsole for this theme. Was it there before or it wasn't implemented at all?