diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-26 10:39:15 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-26 10:39:15 +0800 |
commit | 2d3a6d3cb7424b22689bfcac314c33863a73ea07 (patch) | |
tree | 69d0ec26f1b9724c247c638926c4d35adcf656cf /_config | |
parent | 734e8fdab023199981b990094c1f2cedc7b28299 (diff) | |
download | dotfiles-2d3a6d3cb7424b22689bfcac314c33863a73ea07.tar.bz2 |
compton: Fix the weird double shadow around some GTK3 apps
Credit: https://github.com/chjj/compton/issues/189
Diffstat (limited to '_config')
-rw-r--r-- | _config/compton.conf | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/_config/compton.conf b/_config/compton.conf index 5eed371..257c56b 100644 --- a/_config/compton.conf +++ b/_config/compton.conf @@ -80,28 +80,15 @@ shadow-opacity = 0.85; # have visual glitches (most applications are fine, only apps that do # weird things with xshapes or argb are affected). # -# This list includes all the affected apps I found in my testing. # The "! name~=''" part excludes shadows on any "Unknown" windows, # this prevents a visual glitch with the XFWM alt tab switcher. +# +# The "_GTK_FRAME_EXTENTS@:c" fixes the weird double shadow around +# GTK3 applications. +# Credit: https://github.com/chjj/compton/issues/189 shadow-exclude = [ "! name~=''", - "name = 'Notification'", - "name = 'Plank'", - "name = 'Docky'", - "name = 'Kupfer'", - "name = 'xfce4-notifyd'", - "name *= 'VLC'", - "name *= 'compton'", - "name *= 'Chromium'", - "name *= 'Chrome'", - "name *= 'Firefox'", - "class_g = 'Conky'", - "class_g = 'Kupfer'", - "class_g = 'Synapse'", - "class_g ?= 'Notify-osd'", - "class_g ?= 'Cairo-dock'", - "class_g ?= 'Xfce4-notifyd'", - "class_g ?= 'Xfce4-power-manager'" + "_GTK_FRAME_EXTENTS@:c" ]; # Avoid drawing shadow on all shaped windows # (see also: --detect-rounded-corners) @@ -150,7 +137,7 @@ fade-out-step = 0.03; #no-fading-openclose = true; # Specify a list of conditions of windows that should not be faded. -fade-exclude = [ ]; +fade-exclude = [ "_GTK_FRAME_EXTENTS@:c" ]; ################################# # Other |