home/.config/compton.conf

140 lines
4.3 KiB
Plaintext
Raw Normal View History

2018-10-21 01:44:49 -05:00
## BACKEND
2017-07-30 00:04:04 -05:00
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
# Recommended if it works.
2018-10-21 01:44:49 -05:00
glx-no-rebind-pixmap = true;
2017-07-30 00:04:04 -05:00
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
glx-swap-method = "undefined";
2018-10-21 01:44:49 -05:00
## SHADOWS
2017-07-30 00:04:04 -05:00
shadow = true;
2017-07-30 00:04:04 -05:00
no-dnd-shadow = true;
no-dock-shadow = false;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
clear-shadow = false;
2018-02-05 14:27:15 -06:00
shadow-radius = 6;
shadow-offset-x = -9;
2018-07-18 20:04:26 -05:00
shadow-offset-y = -8;
2017-07-30 00:04:04 -05:00
shadow-opacity = 0.5;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
2018-10-21 01:44:49 -05:00
shadow-ignore-shaped = false;
2017-07-30 00:04:04 -05:00
shadow-exclude = [
"name = 'oneko'",
2017-07-30 00:04:04 -05:00
"name = 'Notification'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"name *= 'Conky'",
"name *= 'Polybar tray window'",
"class_g = 'Conky'",
2017-07-30 00:04:04 -05:00
"class_g ?= 'Notify-osd'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"class_g ?= 'Wine'",
"window_type = 'dock'",
2017-07-30 00:04:04 -05:00
"_GTK_FRAME_EXTENTS@:c"
];
2018-10-21 01:44:49 -05:00
## OPACITY
2017-07-30 00:04:04 -05:00
menu-opacity = 1;
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;
2018-11-06 19:43:24 -06:00
blur-background = false;
2017-08-22 19:49:38 -05:00
blur-kern = "7x7box";
2017-07-30 00:04:04 -05:00
# Blur background of opaque windows with transparent frames as well.
blur-background-frame = false;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = true;
2017-07-30 00:04:04 -05:00
blur-background-exclude = [
2018-08-08 18:12:08 -05:00
"! class_g = 'Conky'",
"class_g ?= 'xfdesktop'",
2017-07-30 00:04:04 -05:00
"window_type = 'dock'",
"class_g ?= 'Wine'"
2017-07-30 00:04:04 -05:00
];
2018-10-21 01:44:49 -05:00
## FADING
2017-07-30 00:04:04 -05:00
2018-08-07 19:21:21 -05:00
fading = true;
2017-07-30 00:04:04 -05:00
# The time between steps in a fade in milliseconds. (default 10).
2018-08-08 17:32:25 -05:00
fade-delta = 5;
2017-07-30 00:04:04 -05:00
# Opacity change between steps while fading in. (default 0.028).
2018-08-08 17:32:25 -05:00
fade-in-step = 0.07;
2017-07-30 00:04:04 -05:00
# Opacity change between steps while fading out. (default 0.03).
2018-08-08 17:32:25 -05:00
fade-out-step = 0.07;
2017-07-30 00:04:04 -05:00
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
fade-exclude = [ ];
2018-10-21 01:44:49 -05:00
## OTHER
2017-07-30 00:04:04 -05:00
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 144;
2017-07-30 00:04:04 -05:00
vsync = "opengl-swc";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Painting on X Composite overlay window. Recommended.
paint-on-overlay = true;
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
2018-10-21 01:44:49 -05:00
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already
2017-07-30 00:04:04 -05:00
sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
# paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
2018-10-21 01:44:49 -05:00
## WINDOW TYPE SETTINGS
2017-07-30 00:04:04 -05:00
wintypes:
{
tooltip =
{
# fade: Fade the particular type of windows.
fade = true;
# shadow: Give those windows shadow
shadow = true;
# opacity: Default opacity for the type of windows.
opacity = 0.85;
# focus: Whether to always consider windows of this type focused.
focus = true;
};
};