Plasma 5 Windows Blur Original

Various Plasma Styles blur dark-theme plasma5 theme

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
Score 67.1%
Description:

This is my first upload on this site.
To apply this theme you need to:
Have OpenGL enabled
Import the "BlurRule" to kwin's rules
Download and make executable "Enable Blur.sh"
put "Enable Blur.sh" at startup.

This theme is like Oxygen-transparent but it works on all themes

Thanks to Refused (https://www.pling.com/u/refused) for improving my script.
Last changelog:

Version 2.0.0 6 months ago

• Fixed the bug of the two rules instead of one
• Updated the script code to work now with almost all windows
Thanks to Refused (https://www.pling.com/u/refused) for improving my script.

cyelis1224

4 months ago

you could simplify the whole process and fix your old bug where certain apps like chrome dont blue by installing xdotool and doing this


#! /bin/bash
while true; do
sleep 0.5
a=$(xdotool getactivewindow)
xprop -id "$a" -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0
set -u
done

just a thought

Report

cyelis1224

4 months ago

blur* not blue

Report

DanielRios549

6 months ago

How to enable this only for tltebar?

Report

Nano-Ocelot

5 months ago

The easiest way to blur only the titlebar is to install a different window decoration. If you're using the default Breeze window decoration I recommend just installing BreezeEnhanced. It has transparency and blur features as well as a bunch of other useful customization options.

Report

DanielRios549

5 months ago

I want something that follows the system blur effect

Report

Nano-Ocelot

5 months ago

https://github.com/tsujan/BreezeEnhanced Here's the window decoration. Note that you don't have to use the 'MacOS buttons' like in the screenshot. If you just leave that option unchecked it will look exactly like your normal Breeze titlebar. It will also respect your color scheme just like the normal Breeze.

Report

Nano-Ocelot

5 months ago

Yep, BreezeEnhanced just uses the in-built desktop blur effect. It has a setting in it's options to set whatever opacity you want. And if blur is turned on in your system settings, then it will automatically take effect.

Report

DanielRios549

5 months ago

Man, thanks too much, I wasn't finding it in the KDE System Settings "Get New" dialog. I will try this BreezeEnhanced right now

Report

Refused

6 months ago

Thank you!
It works fine with standard kde windows (dolphin ,settings, etc) but I see an error with chrome (and, consequently, chrome is not being blurred):

xprop: error: No window with name Plasma 5 Windows Blur - KDE Store - Google Chrome exists!

This is due to the window name which changes according to the current tab:

WM_NAME(UTF8_STRING) = "Plasma 5 Windows Blur - KDE Store - Google Chrome"
_NET_WM_NAME(UTF8_STRING) = "Plasma 5 Windows Blur - KDE Store - Google Chrome"

Bu maybe WM_CLASS should be used?

WM_CLASS(STRING) = "google-chrome", "Google-chrome"

Report

Refused

6 months ago

I found out that using the window id retrieved through xdotool is better, and it seems to make errors disappear.
Furthermore, it is working with chrome as well.


while true; do
sleep 0.5
a=$(xprop -id $(xprop -root _NET_ACTIVE_WINDOW | cut -d ' ' -f 5) WM_NAME | sed -e 's/.*"\(.*\)".*/\1/')

# can have more ids for the same window name!
ids=$(xdotool search -name "$a")
id_arr=($(echo $ids | tr " " "\n"))

for id in "${id_arr[@]}"
do
xprop -id "$id" -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0
done

set -u
done

Report

C

TheXellix

6 months ago

Hey, thank you for this suggestion, that's the best suggestion I've ever seen. Soon I will try this and update the script to download. Let me now if you want credits!(:

Report

Refused

6 months ago

You are welcome, and so are the credits ;)

I am experiencing another issue with windows having strange characters on the name.
For instance, sublimetext with unsaved documents has a title such as:

Untitled • - Sublime Text (UNREGISTERED)

That dot 'breaks' the name string. It would be nice to find all these corner-cases :D

Report

cyelis1224

4 months ago

why would you not just download xdotool and then simply the script by doing it like this?


#! /bin/bash
while true; do
sleep 0.5
a=$(xdotool getactivewindow)
xprop -id "$a" -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0
set -u
done

Report

9

alexatre

11 months ago

9 +

Report

S2 9

l4k1

1 year ago

9 +

Report

salazar

1 year ago

Thank you for this!!! screenshot - https://imgur.com/a/eWIsDF0

Report

andryNoor

10 months ago

hi salazar, i've seen your screenshot. May I know, what is your music player in that screenshot ? Thnks

Report

C

TheXellix

1 year ago

(:

Report

@rchUser

1 year ago

I decided against using the rule as it sets the transparency of every window, opting instead for just setting a few apps to have transparency - like the terminal.
Looks amazing, thanks for this script!

Report

C

TheXellix

1 year ago

Thanks (:

Report

koma111

1 year ago

How can one disable that? I wanted to disable it, I tried removing the rule in System Settings, I tried manually removing the .kwinrule file. I tried restarting kwin after that. The transparency still appears. How can I disable the effect?

Report

C

TheXellix

1 year ago

Have you removed the startup file?

Report

koma111

1 year ago

Yes. Now I found out. The window rule was double created, one time in English and one time in Italian. Thank you for the fast response.

Report

petran

1 year ago

Are the menus blurred like osx?

Report

petran

1 year ago

So, windows are blurred but the menus aren't? Or they are just transparent all together? Thank you for your time.

Report

Version 2.0.0 6 months ago

• Fixed the bug of the two rules instead of one
• Updated the script code to work now with almost all windows
Thanks to Refused (https://www.pling.com/u/refused) for improving my script.

12345678910
3
product-maker alexatre Dec 29 2018 9 excellent
+
product-maker l4k1 Oct 29 2018 9 excellent
+
product-maker dss9963 Oct 30 2017 9 excellent
nice
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Refused
May 23 2019
andryNoor
Feb 10 2019
salazar
Oct 29 2018
Warmuser
Apr 29 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv3
version
2.0.0
updated May 24 2019
added Sep 13 2017
downloads 24h
1
mediaviews 24h 0
pageviews 24h 9