Improvements to compton.conf regarding shadowing and opacity magic

This commit is contained in:
fedora 2019-05-24 15:31:35 +02:00
parent 4a90922401
commit 8e3f12355c
Signed by: wanderer
GPG Key ID: 7B28D8DC28BD2388

@ -8,6 +8,7 @@ shadow-offset-x = -7;
shadow-offset-y = -7; shadow-offset-y = -7;
shadow-opacity = 0.60; shadow-opacity = 0.60;
shadow-ignore-shaped = false; shadow-ignore-shaped = false;
detect-rounded-corners = true;
# Opacity # Opacity
menu-opacity = 1.0; menu-opacity = 1.0;
@ -29,37 +30,41 @@ glx-no-stencil = true;
paint-on-overlay = true; paint-on-overlay = true;
mark-wmwin-focused = true; mark-wmwin-focused = true;
unredir-if-possible = true; unredir-if-possible = true;
detect-rounded-corners = true; detect-client-opacity = true;
opacity-rule = [ opacity-rule = [
"0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'" "0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'",
"90:class_g = 'XTerm' && focused",
"75:class_g = 'XTerm' && !focused"
]; ];
shadow-exclude = [ shadow-exclude = [
"! name~=''",
"name *?= 'Notification'", "name *?= 'Notification'",
"class_g *?= 'jgmenu'", "class_g *?= 'jgmenu'",
"class_g *?= 'VirtualBox'", "class_g *?= 'VirtualBox'",
"class_g *?= 'Conky'", "class_g *?= 'Conky'",
"class_g *?= 'Notify-osd'", "class_g *?= 'Notify-osd'",
"class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"class_g *?= 'cairo-dock'", "class_g *?= 'cairo-dock'",
"class_g *?= 'trayer'", "class_g *?= 'trayer'",
"class_g *?= 'i3-frame'", "class_g *?= 'i3-frame'",
"class_g *?= 'firefox'", "class_g *?= 'Firefox' && argb",
"class_g *?= 'navigator'", "class_g *?= 'navigator'",
"class_g *?= 'Cairo-clock'", "class_g *?= 'Cairo-clock'",
"class_g *?= 'Cairo-dock'", "class_g *?= 'Cairo-dock'",
"class_g *?= 'plank'", "class_g *?= 'plank'",
"class_g *?= 'Docky'", "class_g *?= 'Docky'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c",
"_GTK_FRAME_EXTENTS@:c" "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
]; ];
focus-exclude = [ focus-exclude = [
"class_g *?= 'Cairo-clock'", "class_g *?= 'Cairo-clock'",
"class_g *?= 'Virtualbox'", "class_g *?= 'Virtualbox'",
"class_g *?= 'trayer'", "class_g *?= 'trayer'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", #"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"name *?= 'Authy'" "name *?= 'Authy'"
]; ];
@ -76,3 +81,4 @@ wintypes:
no-fading-openclose = true; no-fading-openclose = true;
frame-opacity = 0.0; frame-opacity = 0.0;
blur-background-fixed = false; blur-background-fixed = false;
use-ewmh-active-win = true;