Skip to content

Instantly share code, notes, and snippets.

@alibitek
Last active March 2, 2022 15:02
Show Gist options
  • Save alibitek/8ca86245211fd0eae754 to your computer and use it in GitHub Desktop.
Save alibitek/8ca86245211fd0eae754 to your computer and use it in GitHub Desktop.
Disable KDE panel shadow. Script to be placed in ~/.kde/Autostart/disable_panel_shadow.sh https://forum.kde.org/viewtopic.php?f=285&t=121592
for WID in `xwininfo -root -tree | sed '/"plasma-desktop": ("Plasma" "Plasma")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do
xprop -id $WID -remove _KDE_NET_WM_SHADOW
done
# or
for WID in `xwininfo -root -tree | sed '/"Plasma": ("plasmashell" "plasmashell")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do
xprop -id $WID -remove _KDE_NET_WM_SHADOW
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment