backend = "glx"; # Enables Opengl backend paint-on-overlay = true; # These 3 can improve performance, work well in most cases glx-no-stencil = true; glx-no-rebind-pixmap = true; #glx-use-copysubbuffermesa = true; vsync = "drm"; # Enables one of the vsync methods. Check here for more info: https://github.com/chjj/compton/wiki/vsync-guide # Shadow shadow = true; # Enabled client-side shadows on windows. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows. no-dnd-shadow = true; # Don't draw shadows on DND windows. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental). shadow-radius = 7; # The blur radius for shadows. (default 12) shadow-offset-x = -7; # The left offset for shadows. (default -15) shadow-offset-y = -7; # The top offset for shadows. (default -15) shadow-blue = 1.0; shadow-exclude = [ "! name~=''", "n:e:Notification", "n:e:Plank", "n:e:Docky", "g:e:Synapse", "g:e:Kupfer", "g:e:Conky", "class_g ?= 'Notify-osd'", "class_g ?= 'Cairo-dock'", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'", "class_g ?= 'lxqt-notificationd'" ]; # Due to how compton draws shadows, some apps will have "glitchy" shadows. I've added all problem apps I ran into here. #"! name~=''" excludes shadows on "unkown" windows, which fixes a shadow glitch with XFWM's alt tab switcher. # Opacity menu-opacity = 0.75; inactive-opacity = 0.8; frame-opacity = 0.75; inactive-dim = 0.2; blur-background = true; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; # Fading fading = true; # Fade windows during opacity changes. fade-delta = 2; # The time between steps in a fade in milliseconds. (default 10). fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03). #no-fading-openclose = true; # Fade windows in/out when opening/closing detect-client-opacity = true; #Fixes opacity in some apps, such as xfce4-notifyd mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus). use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused # instead of using FocusIn/Out events. Usually more reliable but unredir-if-possible = true; # Window type settings # Disables shadows on tooltips and enables fading on tooltips wintypes: { tooltip = { fade = true; shadow = false; }; };