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