compton.conf (2531B)
1 # Driver 2 #backend = "glx"; 3 #vsync = "opengl"; 4 glx-copy-from-front = true; # Copy unmodified regions from front buffer instead of full redraw. 5 glx-swap-method = 2; # Double-buffered exchange. 6 xrender-sync = true; 7 xrender-sync-fence = true; 8 9 # Shadow 10 shadow = false; # Client-side shadows on windows. 11 no-dock-shadow = true; # Don't draw shadows on dock/panel windows. 12 no-dnd-shadow = true; # Don't draw shadows on DND windows. 13 clear-shadow = false; # Zero the part of the shadow's mask behind the window (experimental). 14 shadow-ignore-shaped = false; # Avoid drawing shadow on shaped windows (see also: --detect-rounded-corners) 15 shadow-radius = 12; # Blur radius for shadows. (default 12) 16 shadow-offset-x = -15; # Left offset for shadows. (default -15) 17 shadow-offset-y = -15; # Top offset for shadows. (default -15) 18 19 # Exclude conditions for shadows. 20 shadow-exclude = [ 21 "n:e:Notification", 22 "class_g = 'Gnome-screenshot'", 23 "class_g = 'Gnome-control-center'", 24 "class_g = 'Nautilus'" 25 ]; 26 27 # Opacity 28 shadow-opacity = 0.7; # The translucency for shadows. (default .75) 29 active-opacity = 1.0; 30 menu-opacity = 1.0; # The opacity for menus. (default 1.0) 31 frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0) 32 inactive-opacity = 1.0; # Opacity of inactive windows. (0.1 - 1.0) 33 inactive-opacity-override = true; # Override _NET_WM_OPACITY with inactive-opacity. 34 35 inactive-dim = 0.0; # Dim inactive windows. (0.0 - 1.0) 36 inactive-dim-fixed = true; # Do not adjust dimness based on window opacity. 37 blur-background = false; # Do not blur transparent window background. 38 # Fading 39 fading = true; # Fade windows during opacity changes. 40 fade-delta = 12; # The time between steps in a fade in milliseconds. (default 10). 41 fade-in-step = 0.15; # Opacity change between steps while fading in. (default 0.028). 42 fade-out-step = 0.15; # Opacity change between steps while fading out. (default 0.03). 43 no-fading-openclose = false; # Fade windows in/out when opening/closing. 44 45 # Other 46 #inactive-dim = 0.1; # Dim inactive windows. (0.0 - 1.0, defaults to 0). 47 mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. 48 mark-ovredir-focused = true; 49 detect-rounded-corners = true; 50 51 # Window type settings 52 wintypes: 53 { 54 tooltip = { fade = true; shadow = false; opacity = 0.75; }; 55 };