Added compton config

develop
Nathan Steel 5 years ago
parent 7a8ad04957
commit 6831dcf167

@ -1,6 +1,6 @@
# https://github.com/madgrid/dwm/blob/master/.config/compton.conf # https://github.com/madgrid/dwm/blob/master/.config/compton.conf
# Shadow # Shadow
shadow = true; # Enabled client-side shadows on windows. shadow = false; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND 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 clear-shadow = true; # Zero the part of the shadow's mask behind the
@ -13,30 +13,34 @@ shadow-offset-y = -12; # The top offset for shadows. (default -15)
shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0) shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0) shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
#shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows. #shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows.
shadow-exclude = [ "class_g = 'conky'", "class_g = 'dmenu'" ]; shadow-exclude = [ "class_g = 'conky'",
"class_g = 'dmenu'" ];
#shadow-exclude = "n:e:Notification"; #shadow-exclude = "n:e:Notification";
shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
# (see also: --detect-rounded-corners) # (see also: --detect-rounded-corners)
# Opacity # Opacity
menu-opacity = 0.9; # The opacity for menus. (default 1.0) menu-opacity = 1.0; # The opacity for menus. (default 1.0)
inactive-opacity = 0.9; # Default opacity of inactive windows. (0.0 - 1.0) inactive-opacity = 0.92; # Default opacity of inactive windows. (0.0 - 1.0)
# active-opacity = 0.8; # Default opacity for active windows. (0.0 - 1.0) active-opacity = 0.99; # Default opacity for active windows. (0.0 - 1.0)
# frame-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0) #frame-opacity = 0.4; # Opacity of window titlebars and borders. (0.1 - 1.0)
# inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
# value of _NET_WM_OPACITY. Bad choice. # value of _NET_WM_OPACITY. Bad choice.
alpha-step = 0.6; # XRender backend: Step size for alpha pictures. Increasing alpha-step = 0.7; # XRender backend: Step size for alpha pictures. Increasing
# it may result in less X resource usage, # it may result in less X resource usage,
# Yet fading may look bad. # Yet fading may look bad.
# inactive-dim = 0.2; # Dim inactive windows. (0.0 - 1.0) opacity-rule = [ "99:class_g = 'brave-browser'",
"99:class_g = 'firefox'"];
inactive-dim = 0.0; # Dim inactive windows. (0.0 - 1.0)
# inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity. # inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
blur-background = false; # Blur background of transparent windows. blur-background = true; # Blur background of transparent windows.
# Bad performance with X Render backend. # Bad performance with X Render backend.
# GLX backend is preferred. # GLX backend is preferred.
# blur-background-frame = true; # Blur background of opaque windows with transparent # blur-background-frame = true; # Blur background of opaque windows with transparent
# frames as well. # frames as well.
blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. #blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; #blur-background-exclude = [ "window_type = 'dock'",
#"window_type = 'desktop'" ];
# Exclude conditions for background blur. # Exclude conditions for background blur.
# Fading # Fading
@ -51,7 +55,7 @@ fade-exclude = [ ]; # Exclude conditions for fading.
backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
# much faster but depends on a sane driver. # much faster but depends on a sane driver.
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. 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). mark-ovredir-focused = false; # 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 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 # instead of using FocusIn/Out events. Usually more reliable but
# depends on a EWMH-compliant WM. # depends on a EWMH-compliant WM.
@ -60,7 +64,7 @@ detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful
# managers not passing _NET_WM_OPACITY of client windows to frame # managers not passing _NET_WM_OPACITY of client windows to frame
# windows. # windows.
refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto. refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
vsync = "opengl"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
# See man page for more details. # See man page for more details.
dbe = false; # Enable DBE painting mode. Rarely needed. dbe = false; # Enable DBE painting mode. Rarely needed.
paint-on-overlay = false; # Painting on X Composite overlay window. Recommended. paint-on-overlay = false; # Painting on X Composite overlay window. Recommended.
@ -78,8 +82,8 @@ invert-color-include = [ ]; # Conditions for windows to be painted with inverted
# GLX backend # GLX backend fine-tune options. See man page for more info. # GLX backend # GLX backend fine-tune options. See man page for more info.
# glx-no-stencil = true; # Recommended. # glx-no-stencil = true; # Recommended.
glx-copy-from-front = false; # Useful with --glx-swap-method, glx-copy-from-front = false; # Useful with --glx-swap-method,
# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync. glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
# glx-no-rebind-pixmap = true; # Recommended if it works. glx-no-rebind-pixmap = true; # Recommended if it works.
glx-swap-method = "undefined"; # See man page. glx-swap-method = "undefined"; # See man page.
# Window type settings # Window type settings

Loading…
Cancel
Save