This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Controlling window background blur using "xprop"

Tags: None
(comma "," separated)
parsa
Registered Member
Posts
1
Karma
0
Hi there . I saw the following code here https://userbase.kde.org/Tutorials/Force_Transparency_And_Blur

Code: Select all
if [[ $(ps --no-header -p $PPID -o comm) =~ '^yakuake|dolphin$' ]]; 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

It seems that it uses the pid of yakuake and dolphin to get the window id and then it forces blur settings using "xprop" tool. But what I cannot get is that what does that "32c" format mean?
I tried multiple numbers and just 32a and 32c worked.(The former lowered the blur and the latter increased)

Thanks.Best regards.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]