Kitty: [Request] Transparency blur

Created on 8 Sep 2018  路  6Comments  路  Source: kovidgoyal/kitty

Hi,
It would be great to see an option for blurring the elements shown through the transparency, like Konsole.

Most helpful comment

@fosspill

I have this in my zshrc. Found it on reddit here

# Blur {{{
if [[ $(ps --no-header -p $PPID -o comm) =~ '^yakuake|kitty$' ]]; 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
# }}}

All 6 comments

I'm afraid this is not something I am interested in, but patches are welcome!

Fair enough. Would it be a hard thing to implement for someone who doesn't know much about opengl?

Its fairly complex. On platforms other than X11 such as macOS and wayland you cannot even get access to what is under the window for security reasons, so any blur transparency has to be done by the window manager. On X11 you have full access and you could do it yourself, but that does require some opengl knowledge.

@fosspill

I have this in my zshrc. Found it on reddit here

# Blur {{{
if [[ $(ps --no-header -p $PPID -o comm) =~ '^yakuake|kitty$' ]]; 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
# }}}

Additional note for @RaitaroH's zshrc snippet. It only works with KDE.
Also, any way to get this with Gnome or picom?

Additional note for @RaitaroH's zshrc snippet. It only works with KDE.
Also, any way to get this with Gnome or picom?

I am not aware, sorry.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wavexx picture wavexx  路  3Comments

metalelf0 picture metalelf0  路  4Comments

RedBeard0531 picture RedBeard0531  路  4Comments

reed-jones picture reed-jones  路  4Comments

Jomik picture Jomik  路  4Comments