# # COMPTON # config for compton # needs the patched dual_kawase fork # # file: ~/.config/compton.conf # v0.4.2 / 2018.07.19 # # (c) 2018 Bernd Busse # mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; # use-ewmh-active-win = true; backend = "glx" ############### ### SHADOWS ### ############### shadow = true; #no-dnd-shadow = true; #no-dock-shadow = true; shadow-radius = 7; shadow-offset-x = -3; shadow-offset-y = -3; shadow-opacity = 0.5; # shadow-red = 0.0; # shadow-green = 0.0; # shadow-blue = 0.0; shadow-exclude = [ "name = 'Notification'", "_GTK_FRAME_EXTENTS@:c", "class_g = 'i3-frame'", "!I3_FLOATING_WINDOW@:c" ]; # shadow-exclude = "n:e:Notification"; shadow-ignore-shaped = false; # shadow-exclude-reg = "x10+0+0"; xinerama-shadow-crop = 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: { method = "dual_kawase"; strength = 6.0; # deviation = 1.0; # kernel = "11x11gaussian"; } #blur-background-frame = true; blur-kern = "7x7box"; # 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'", "class_g = 'Chromium'", ]; opacity-rule = [ #"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "99:class_g = 'kitty' && _NET_WM_STATE@:32a", "90:class_g = 'kitty' && !_NET_WM_STATE@:32a", #"99:class_g = 'kitty' && !focused", #"90:class_g = 'kitty' && focused", ]; ############## ### FADING ### ############## #fading = true; # fade-delta = 30; #fade-in-step = 0.03; #fade-out-step = 0.03; # no-fading-openclose = true; #fade-exclude = [ ]; ############# ### OTHER ### ############# # dbe = false; unredir-if-possible = true; # unredir-if-possible-delay = 5000; unredir-if-possible-exclude = [ "name *= 'Chrome'", "name *= 'Chromium'", "name *= 'mpv'" ]; focus-exclude = [ "window_type = 'dock'", "class_g = 'i3-frame'" ]; detect-transient = true; #detect-client-leader = true; #invert-color-include = [ ]; resize-damage = 5; ################### ### GLX BACKEND ### ################### refresh-rate = 0; #vsync = "true"; glx-no-stencil = true; glx-copy-from-front = false; #glx-use-copysubbuffermesa = true; glx-no-rebind-pixmap = true; #glx-swap-method = "3"; #glx-use-gpushader4 = true; ########################### ### WINDOWTYPE SETTINGS ### ########################### #wintypes: { # tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; }; #};