Skip to content

Instantly share code, notes, and snippets.

View gustawho's full-sized avatar

Gustavo Castro gustawho

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gustawho on github.
  • I am gustawho (https://keybase.io/gustawho) on keybase.
  • I have a public key ASB7ImBiKMOpVNeXrKlSDmISvnMjB1PoOTi28gnSfxrHmgo

To claim this, I am signing this object:

@gustawho
gustawho / .bashrc
Created October 15, 2015 00:54
Blur effect for Konsole/Yakuake under KF5
## Blur effect ##
if [ `echo $DISPLAY` ]; then
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 org.kde.yakuake` ]; then
xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id `xwininfo -name Yakuake | grep "Yakuake" | sed 's/xwininfo: Window id: //g' | sed 's/"Yakuake"//g'`;