Skip to content

Instantly share code, notes, and snippets.

@kanehekili
Last active May 10, 2019 17:46
Show Gist options
  • Save kanehekili/366b4e63627629d694dd33842092b242 to your computer and use it in GitHub Desktop.
Save kanehekili/366b4e63627629d694dd33842092b242 to your computer and use it in GitHub Desktop.
compton config on Thinkpad R61i
backend = "glx";
glx-no-stencil = true;
glx-swap-method = "buffer-age";
glx-use-copysubbuffermesa = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true #seems to help against missing refresh
vsync = "opengl-swc"; #Works faster than mswc!
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
shadow-radius = 10;
shadow-offset-x = -10;
shadow-offset-y = -10;
shadow-opacity = 0.7;
shadow-exclude = [
#"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'SMPlayer'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"name *= 'cairo-dock-dialog'",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"WM_CLASS@:s = 'Cairo-dock'",
"_GTK_FRAME_EXTENTS@:c"
];
menu-opacity = 1;
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-rounded-corners = true;
shadow-ignore-shaped = false;
detect-client-opacity = true;
refresh-rate = 0;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
wintypes:
{
tooltip =
{
# fade: Fade the particular type of windows.
fade = false;
# shadow: Give those windows shadow
shadow = false;
# opacity: Default opacity for the type of windows.
opacity = 0.9;
# focus: Whether to always consider windows of this type focused.
focus = true;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment