From 05b80f5c8913096fcc99aec1ed7849f45e7db13c Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 20 Feb 2020 13:21:14 -0500 Subject: [PATCH] Fix compton on the X1 carbon --- i3/.config/compton/compton.conf | 126 ++++++++++++++++++-------------- 1 file changed, 72 insertions(+), 54 deletions(-) diff --git a/i3/.config/compton/compton.conf b/i3/.config/compton/compton.conf index 2ff6476..a964dc4 100644 --- a/i3/.config/compton/compton.conf +++ b/i3/.config/compton/compton.conf @@ -1,71 +1,89 @@ -##### compton.conf / RESLOVED ##################### -backend = "glx"; -glx-no-stencil = true; -glx-copy-from-front = false; -glx-swap-method = "undefined"; - -##### OPACITY ###################################### -menu-opacity = 1; -inactive-opacity = 1; -active-opacity = 1; -frame-opacity = 1; -inactive-opacity-override = false; -alpha-step = 0.04; - -##### SHADOW ###################################### - +# Shadow shadow = true; - -# Soft -shadow-radius = 32; -shadow-offset-x = -32; -shadow-offset-y = -32; -shadow-opacity = 0.5; - -# Sharp -#shadow-radius = 0; -#hadow-offset-x = 16; -#shadow-offset-y = 16; -#shadow-opacity = 0.2; - +no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +shadow-radius = 7; +shadow-offset-x = -7; +shadow-offset-y = -7; +# shadow-opacity = 0.7; # shadow-red = 0.0; # shadow-green = 0.0; # shadow-blue = 0.0; shadow-exclude = [ - "class_g = 'Firefox' && argb", - "class_g = 'i3-frame'", - "class_g = 'xtext'" + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" ]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; -corner-radius = 7 - - -blur-background = true; -blur-background-frame = true; +# Opacity +menu-opacity = 0.8; +inactive-opacity = 0.8; +# active-opacity = 0.8; +frame-opacity = 0.7; +inactive-opacity-override = false; +alpha-step = 0.06; +# inactive-dim = 0.2; +# inactive-dim-fixed = true; +# blur-background = true; +# blur-background-frame = true; blur-kern = "3x3box"; -opacity-rule = [ - "0:class_g = 'blank'", - "0:class_g = 'slop'" +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" ]; +# opacity-rule = [ "80:class_g = 'URxvt'" ]; -##### FADE ######################################## - +# Fading fading = true; -#fade-delta = 5; -fade-in-step = 0.1; -fade-out-step = 0.1; -#no-fading-openclose = true; -no-fading-destroyed-argb = true; +# fade-delta = 30; +fade-in-step = 0.03; +fade-out-step = 0.03; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +fade-exclude = [ ]; -##### OTHER ####################################### +# Other +backend = "xrender"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +# sw-opti = true; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; -focus-exclude = [ - "class_g = 'Cairo-clock'", - "class_g = 'slop'" -]; +# GLX backend +# glx-no-stencil = true; +glx-copy-from-front = false; +# glx-use-copysubbuffermesa = true; +# glx-no-rebind-pixmap = true; +glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; +# xrender-sync = true; +# xrender-sync-fence = true; -# WINDOW TYPE SETTINGS +# Window type settings wintypes: { - tooltip = { fade = true; shadow = false; opacity = 0.90; focus = true; }; + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; };