Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- vsync = "opengl-swc"; # 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-exclude = [
- "! name~=''",
- "n:e:Notification",
- "n:e:Plank",
- "n:e:Docky",
- "g:e:Synapse",
- "g:e:Kupfer",
- "g:e:Conky",
- "n:w:*Firefox*",
- "n:w:*Chrome*",
- "n:w:*Chromium*",
- "class_g ?= 'Notify-osd'",
- "class_g ?= 'Cairo-dock'",
- "class_g ?= 'Xfce4-notifyd'",
- "class_g ?= 'Xfce4-power-manager'"
- ];
- # 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.
- # Fading
- fading = true; # Fade windows during opacity changes.
- fade-delta = 4; # 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
- # Window type settings
- # Disables shadows on tooltips and enables fading on tooltips
- wintypes:
- {
- tooltip = { fade = true; shadow = false; };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement