new compton.conf

This commit is contained in:
Harri Lahtinen 2019-07-13 01:00:57 +03:00
parent 55ca5c1e60
commit b86274ae86
2 changed files with 68 additions and 64 deletions

View File

@ -1,80 +1,84 @@
backend = "glx";
vsync = "opengl-swc";
# Shadow
shadow = true;
no-dock-shadow = true;
no-dnd-shadow = true;
menu-opacity = 0.8;
inactive-opacity = 0.9;
active-opacity = 1;
shadow-radius = 10;
shadow-offset-x = -5;
shadow-offset-y = 0;
shadow-opacity = 0.8;
shadow-red = 0.11;
shadow-green = 0.12;
shadow-blue = 0.13;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
log-level = "warn";
# log-file = "/path/to/your/log/file";
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'i3-frame'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
"!I3_FLOATING_WINDOW@:c"
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
shadow-ignore-shaped = true;
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
alpha-step = 0.06;
blur-background = false;
blur-background-fixed = true;
blur-kern = "7x7box";
# Opacity
inactive-opacity = 0.8;
# active-opacity = 0.8;
frame-opacity = 0.7;
inactive-opacity-override = false;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
blur-kern = "3x3box";
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
# blur-background-fixed = true;
blur-background-exclude = [
"class_g = 'i3-frame'",
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
# opacity-rule = [ "80:class_g = 'URxvt'" ];
# Duplicating the _NET_WM_STATE entries because compton cannot deal with atom arrays :-/
#opacity-rule = [
# "97:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
# "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
# "0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
# "0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
# "0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
# "0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
# "90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'",
# "90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'",
# "90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'",
# "90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'",
# "90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'"
#];
fading = false;
fade-delta = 7;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-exclude = [];
# Fading
fading = true;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;
# no-fading-destroyed-argb = true;
fade-exclude = [ ];
# Other
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
dbe = false;
glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = "undefined";
sw-opti = true;
unredir-if-possible = false;
focus-exclude = [];
vsync = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [];
invert-color-include = [ ];
# resize-damage = 1;
wintypes: {
tooltip = { fade = true; shadow = false; opacity = 1.00; focus = true; };
# GLX backend
# glx-no-stencil = true;
# glx-no-rebind-pixmap = true;
# xrender-sync-fence = true;
use-damage = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
};

View File

@ -60,7 +60,7 @@ exec --no-startup-id twmnd &
#Mpdscribble
#exec --no-startup-id mpdscribble --no-daemon &
#Wpgtk
exec --no-startup-id ~/.config/wpg/wp-init.sh
exec --no-startup-id ~/.config/wpg/wp_init.sh
#Conky
#exec --no-startup-id conky -d -c ~/.config/conky/conkybg &
#Clipster