Skip to content

Instantly share code, notes, and snippets.

@adnan360
Created July 19, 2017 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnan360/c2175730376c1cc80bcbe2be9768f43c to your computer and use it in GitHub Desktop.
Save adnan360/c2175730376c1cc80bcbe2be9768f43c to your computer and use it in GitHub Desktop.
Compton configuration for a typical installation (~/.config/compton.conf)
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "class_g = 'Synapse'", "class_g = 'Firefox' && argb" ];
shadow-ignore-shaped = true;
menu-opacity = 0.9;
inactive-opacity = 0.9;
active-opacity = 1.;
frame-opacity = 1.;
inactive-opacity-override = false;
alpha-step = 0.05;
blur-background = false;
blur-kern = "3x3box";
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
fading = false;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
opacity-rule = [ "99:name *?= 'Screenshot'", "99:class_g = 'Firefox'", "99:name *?= 'Pale Moon'", "99:name *?= 'QupZilla'", "99:class_g = 'Midori'", "99:class_g = 'Lazpaint'", "99:class_g = 'Pinta'", "99:class_g = 'Viewnior'", "99:class_g = 'GIMP'", "99:class_g = 'Darktable'", "99:name *?= 'VLC'", "99:name *?= 'Event'", "99:name *?= 'Call'", "99:name *?= 'Minitube'", "99:name *?= 'Write'", "99:name *?= 'VirtualBox'", "99:name *?= 'Conky'", "99:name *?= 'Panel'", "90:name *?= 'Restart'", "90:name *?= 'Page Info'", "99:name *?= 'Image'", "75:class_g = 'kwrite'", "75:name *?= 'mousepad'" ];
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 0.75;
focus = true;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment