Skip to content

Instantly share code, notes, and snippets.

@victorono
Created May 30, 2015 18:40
Show Gist options
  • Save victorono/0882495e282106e24185 to your computer and use it in GitHub Desktop.
Save victorono/0882495e282106e24185 to your computer and use it in GitHub Desktop.
Applying Kwin Blur to Transparent Konsole/Yakuake Windows
konsolex=$(qdbus | grep konsole | cut -f 2 -d\ )
if [ -n konsolex ]; then
for konsole in $konsolex
do
xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id `qdbus $konsole /konsole/MainWindow_1 winId`;
done
fi
if [ `qdbus | grep yakuake` ]; then
xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -name Yakuake;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment