Skip to content

Instantly share code, notes, and snippets.

@zakkak
Forked from alibitek/disable_panel_shadow.sh
Created April 11, 2017 08:55
Show Gist options
  • Select an option

  • Save zakkak/611995eb669f514040b040258c253a55 to your computer and use it in GitHub Desktop.

Select an option

Save zakkak/611995eb669f514040b040258c253a55 to your computer and use it in GitHub Desktop.

Revisions

  1. @alibitek alibitek revised this gist Dec 5, 2015. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions disable_panel_shadow.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,8 @@
    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
  2. Dr. Sky Lizard created this gist Nov 20, 2014.
    3 changes: 3 additions & 0 deletions disable_panel_shadow.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    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