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"; # Shadow
vsync = "opengl-swc";
shadow = true; shadow = true;
no-dock-shadow = true; shadow-radius = 7;
no-dnd-shadow = true; shadow-offset-x = -7;
menu-opacity = 0.8; shadow-offset-y = -7;
inactive-opacity = 0.9; log-level = "warn";
active-opacity = 1; # log-file = "/path/to/your/log/file";
# shadow-opacity = 0.7;
shadow-radius = 10; # shadow-red = 0.0;
shadow-offset-x = -5; # shadow-green = 0.0;
shadow-offset-y = 0; # shadow-blue = 0.0;
shadow-opacity = 0.8;
shadow-red = 0.11;
shadow-green = 0.12;
shadow-blue = 0.13;
shadow-exclude = [ shadow-exclude = [
"name = 'Notification'", "name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c", "class_g = 'Conky'",
"class_g = 'i3-frame'", "class_g ?= 'Notify-osd'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "class_g = 'Cairo-clock'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", "_GTK_FRAME_EXTENTS@:c"
"!I3_FLOATING_WINDOW@:c"
]; ];
shadow-ignore-shaped = true; # shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
alpha-step = 0.06; # Opacity
blur-background = false; inactive-opacity = 0.8;
blur-background-fixed = true; # active-opacity = 0.8;
blur-kern = "7x7box"; 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 = [ blur-background-exclude = [
"class_g = 'i3-frame'", "window_type = 'dock'",
"window_type = 'dock'", "window_type = 'desktop'",
"window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c"
"_GTK_FRAME_EXTENTS@:c"
]; ];
# opacity-rule = [ "80:class_g = 'URxvt'" ];
# Duplicating the _NET_WM_STATE entries because compton cannot deal with atom arrays :-/ # Fading
#opacity-rule = [ fading = true;
# "97:class_g = 'URxvt' && !_NET_WM_STATE@:32a", # fade-delta = 30;
fade-in-step = 0.03;
# "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", fade-out-step = 0.03;
# "0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'", # no-fading-openclose = true;
# "0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'", # no-fading-destroyed-argb = true;
# "0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'", fade-exclude = [ ];
# "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 = [];
# Other
backend = "xrender";
mark-wmwin-focused = true; mark-wmwin-focused = true;
mark-ovredir-focused = true; mark-ovredir-focused = true;
use-ewmh-active-win = true; # use-ewmh-active-win = true;
detect-rounded-corners = true; detect-rounded-corners = true;
detect-client-opacity = true; detect-client-opacity = true;
refresh-rate = 0; refresh-rate = 0;
dbe = false; vsync = true;
glx-no-stencil = true; # sw-opti = true;
glx-copy-from-front = false; # unredir-if-possible = true;
glx-swap-method = "undefined"; # unredir-if-possible-delay = 5000;
sw-opti = true; # unredir-if-possible-exclude = [ ];
unredir-if-possible = false; focus-exclude = [ "class_g = 'Cairo-clock'" ];
focus-exclude = [];
detect-transient = true; detect-transient = true;
detect-client-leader = true; detect-client-leader = true;
invert-color-include = []; invert-color-include = [ ];
# resize-damage = 1;
wintypes: { # GLX backend
tooltip = { fade = true; shadow = false; opacity = 1.00; focus = true; }; # 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 #Mpdscribble
#exec --no-startup-id mpdscribble --no-daemon & #exec --no-startup-id mpdscribble --no-daemon &
#Wpgtk #Wpgtk
exec --no-startup-id ~/.config/wpg/wp-init.sh exec --no-startup-id ~/.config/wpg/wp_init.sh
#Conky #Conky
#exec --no-startup-id conky -d -c ~/.config/conky/conkybg & #exec --no-startup-id conky -d -c ~/.config/conky/conkybg &
#Clipster #Clipster