[rc/{afew,bspwm}] migrate afew and bspwm (and sxhkd) configs
[~bandali/configs] / compton / .config / compton.conf
CommitLineData
e6d88f53 1# Shadow
21aef16f 2shadow = false; # Enabled client-side shadows on windows.
e6d88f53
AB
3no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
4no-dnd-shadow = true; # Don't draw shadows on DND windows.
5clear-shadow = true; # Zero the part of the shadow's mask behind the
6 # window. Fix some weirdness with ARGB windows.
7shadow-radius = 5; # The blur radius for shadows. (default 12)
8shadow-offset-x = -5; # The left offset for shadows. (default -15)
9shadow-offset-y = -5; # The top offset for shadows. (default -15)
10# shadow-opacity = 0.7; # The translucency for shadows. (default .75)
11# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
12# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
13# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
19213515 14shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'", "class_g = 'Firefox' && argb" ]; # Exclude conditions for shadows.
e6d88f53
AB
15# shadow-exclude = "n:e:Notification";
16#shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ] # Fix dual shadow on some gtk3 powered applications
17shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
18 # (see also: --detect-rounded-corners)
19
20# Opacity
21aef16f 21menu-opacity = 1.0; # The opacity for menus. (default 1.0)
e6d88f53
AB
22#inactive-opacity = 0.9; # Default opacity of inactive windows. (0.0 - 1.0)
23# active-opacity = 0.8; # Default opacity for active windows. (0.0 - 1.0)
21aef16f 24frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0)
e6d88f53
AB
25# inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
26 # value of _NET_WM_OPACITY. Bad choice.
27alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
28 # it may result in less X resource usage,
29 # Yet fading may look bad.
30#inactive-dim = 0.5; # Dim inactive windows. (0.0 - 1.0)
31#inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
32# blur-background = true; # Blur background of transparent windows.
33 # Bad performance with X Render backend.
34 # GLX backend is preferred.
35# blur-background-frame = true; # Blur background of opaque windows with transparent
36 # frames as well.
21aef16f 37blur-background-fixed = true; # Do not let blur radius adjust based on window opacity.
e6d88f53
AB
38blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
39 # Exclude conditions for background blur.
40
41# Fading
21aef16f 42fading = false; # Fade windows during opacity changes.
e6d88f53
AB
43fade-delta = 3; # The time between steps in a fade in milliseconds. (default 10).
44fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
45fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
46# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
47fade-exclude = [ ]; # Exclude conditions for fading.
48
49# Other
50backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
51 # much faster but depends on a sane driver.
52mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
53mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
54use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
55 # instead of using FocusIn/Out events. Usually more reliable but
56 # depends on a EWMH-compliant WM.
57detect-rounded-corners = false; # Detect rounded corners and treat them as rectangular when --shadow-ignore- shaped is on.
58detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
59 # managers not passing _NET_WM_OPACITY of client windows to frame
60 # windows.
61refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
62vsync = "drm"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
63 # See man page for more details.
64dbe = false; # Enable DBE painting mode. Rarely needed.
65paint-on-overlay = true; # Painting on X Composite overlay window. Recommended.
66sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
67 # Incompatible with certain VSync methods.
d294b87b 68unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
e6d88f53
AB
69 # detected, to maximize performance for full-screen windows.
70focus-exclude = [ ]; # A list of conditions of windows that should always be considered
71 # focused.
72detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
73 # the same group focused at the same time.
74detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
75invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
76
77# GLX backend # GLX backend fine-tune options. See man page for more info.
21aef16f 78glx-no-stencil = true; # Recommended.
e6d88f53
AB
79glx-copy-from-front = false; # Useful with --glx-swap-method,
80# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
81# glx-no-rebind-pixmap = true; # Recommended if it works.
149b29f1
AB
82glx-no-rebind-pixmap = true; # Recommended if it works.
83#glx-swap-method = "4"; # See man page.
d294b87b 84glx-swap-method = "4"; # See man page.
e6d88f53
AB
85
86# Window type settings
87wintypes:
88{
8b2a2e9c 89 tooltip = { fade = true; shadow = false; opacity = 1; focus = true; };
19213515
AB
90 menu = { shadow = false; };
91 dropdown_menu = { shadow = false; };
92 popup_menu = { shadow = false; };
93 utility = { shadow = false; };
e6d88f53
AB
94 # fade: Fade the particular type of windows.
95 # shadow: Give those windows shadow
96 # opacity: Default opacity for the type of windows.
97 # focus: Whether to always consider windows of this type focused.
98};
99