Skip to content

Instantly share code, notes, and snippets.

@ynsta
Last active September 28, 2022 18:26
Show Gist options
  • Save ynsta/a51701047127885f32f6 to your computer and use it in GitHub Desktop.
Save ynsta/a51701047127885f32f6 to your computer and use it in GitHub Desktop.
Blur konsole and yakuake instead of simple transparency
# add to zshrc
function blur-konsoles() {
windows=($(qdbus org.kde.konsole 2>/dev/null | egrep '^\/konsole\/MainWindow_[0-9]+$'))
for win in ${windows}; do
winId=$(qdbus org.kde.konsole $win winId 2>/dev/null)
[ ! -z "${winId}" ] && xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id "${winId}"
done
qdbus org.kde.yakuake &>/dev/null && xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -name Yakuake
}
[ ! -z "$KONSOLE_DBUS_WINDOW" ] && blur-konsoles
@ishank-dev
Copy link

modify ~/.config/yakuakerc with

[Appearance]
Blur=true

Enjoy blurred yakuake 👍

@murilolobato
Copy link

murilolobato commented Mar 2, 2020

modify ~/.config/yakuakerc with

[Appearance]
Blur=true

Enjoy blurred yakuake

Is there a way to control blur intensity? @ishank-dev

@ishank-dev
Copy link

Navigate to
System Settings --> Desktop Effects --> Blur --> Click on Configure
Here you will be able to change the blur and noise strength

@cwagnersc
Copy link

Navigate to System Settings --> Desktop Effects --> Blur --> Click on Configure Here you will be able to change the blur and noise strength

Thank you.
I was searching for this a while. Unfortunately this seems just works on X11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment