mirror of https://gitlab.com/meliurwen/dotfiles
parent
50d7034f53
commit
25a12368fe
@ -1,160 +1,38 @@ |
|||||||
################################# |
## Backend |
||||||
# Backend |
|
||||||
################################# |
backend = "glx"; |
||||||
|
vsync = true; |
||||||
backend = "glx"; |
|
||||||
# backend = "glx"; |
## Shadow |
||||||
# glx-no-stencil = true; |
|
||||||
# glx-copy-from-front = false; |
shadow = true; |
||||||
|
shadow-radius = 6; |
||||||
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update. |
shadow-offset-x = -1; |
||||||
# glx-use-copysubbuffermesa = true; |
shadow-offset-y = -1; |
||||||
|
shadow-opacity = 0.3; |
||||||
# GLX backend: Avoid rebinding pixmap on window damage. |
|
||||||
# glx-no-rebind-pixmap = true; |
## Fading |
||||||
|
|
||||||
# GLX backend: GLX buffer swap method we assume. |
fading = true; |
||||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). |
fade-delta = 4; |
||||||
# glx-swap-method = "undefined"; |
fade-in-step = 0.03; |
||||||
|
fade-out-step = 0.03; |
||||||
################################# |
no-fading-openclose = false; |
||||||
# Shadows |
|
||||||
################################# |
# Good performance gain, but could be buggy with intel cards |
||||||
|
glx-no-rebind-pixmap = true; |
||||||
shadow = true; |
|
||||||
no-dnd-shadow = true; |
## Opacity |
||||||
no-dock-shadow = true; |
|
||||||
clear-shadow = true; |
opacity-rule = [ |
||||||
shadow-radius = 6; |
"90:class_g = 'URxvt' && !_NET_WM_STATE@:32a", |
||||||
shadow-offset-x = -1; |
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" |
||||||
shadow-offset-y = -1; |
]; |
||||||
shadow-opacity = 0.3; |
|
||||||
|
## Blur |
||||||
# Change shadows color |
|
||||||
# shadow-red = 0.1; |
blur-background = true; |
||||||
# shadow-green = 0.4; |
blur-method = "gaussian"; |
||||||
# shadow-blue = 0.4; |
blur-size = 10; |
||||||
|
blur-deviation = 5.0; |
||||||
shadow-exclude = [ |
|
||||||
"! name~=''", |
|
||||||
"name = 'Notification'", |
|
||||||
"name = 'Plank'", |
|
||||||
"name = 'Docky'", |
|
||||||
"name = 'Kupfer'", |
|
||||||
"name = 'xfce4-notifyd'", |
|
||||||
"name *= 'VLC'", |
|
||||||
"name *= 'compton'", |
|
||||||
"name *= 'Chromium'", |
|
||||||
"name *= 'Chrome'", |
|
||||||
"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'", |
|
||||||
"_GTK_FRAME_EXTENTS@:c" |
|
||||||
]; |
|
||||||
|
|
||||||
shadow-ignore-shaped = false; |
|
||||||
|
|
||||||
################################# |
|
||||||
# Opacity |
|
||||||
################################# |
|
||||||
|
|
||||||
menu-opacity = 1; |
|
||||||
inactive-opacity = 1; |
|
||||||
active-opacity = 1; |
|
||||||
frame-opacity = 1; |
|
||||||
inactive-opacity-override = false; |
|
||||||
alpha-step = 0.06; |
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0) |
|
||||||
# inactive-dim = 0.2; |
|
||||||
|
|
||||||
# Do not let dimness adjust based on window opacity |
|
||||||
# inactive-dim-fixed = true; |
|
||||||
|
|
||||||
# Blur background of transparent windows |
|
||||||
# blur-background = true; |
|
||||||
|
|
||||||
# Blur background of opaque windows with transparent frames as well |
|
||||||
# blur-background-frame = true; |
|
||||||
|
|
||||||
# Do not let blur radius adjust based on window opacity |
|
||||||
blur-background-fixed = false; |
|
||||||
blur-background-exclude = [ |
|
||||||
"window_type = 'dock'", |
|
||||||
"window_type = 'desktop'" |
|
||||||
]; |
|
||||||
|
|
||||||
opacity-rule = [ |
|
||||||
"90:class_g = 'URxvt' && !_NET_WM_STATE@:32a", |
|
||||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" |
|
||||||
]; |
|
||||||
|
|
||||||
# Note: |
|
||||||
# - Using xrender, opacity needs to be configured into ~/.Xresources, too. |
|
||||||
# - Using glx, opacity will work getting the values from opacity-rule, |
|
||||||
# however it causes a lot of lag into some terminals (urxvt and xterm). |
|
||||||
|
|
||||||
################################# |
|
||||||
# Fading |
|
||||||
################################# |
|
||||||
|
|
||||||
fading = true; |
|
||||||
fade-delta = 4; |
|
||||||
fade-in-step = 0.03; |
|
||||||
fade-out-step = 0.03; |
|
||||||
no-fading-openclose = false; |
|
||||||
fade-exclude = [ ]; |
|
||||||
|
|
||||||
################################# |
|
||||||
# Other |
|
||||||
################################# |
|
||||||
|
|
||||||
mark-wmwin-focused = true; |
|
||||||
mark-ovredir-focused = true; |
|
||||||
use-ewmh-active-win = true; |
|
||||||
detect-rounded-corners = true; |
|
||||||
detect-client-opacity = true; |
|
||||||
refresh-rate = 0; |
|
||||||
|
|
||||||
# VSync |
|
||||||
# ----- |
|
||||||
# none : No VSync |
|
||||||
# drm : VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers. |
|
||||||
# opengl : Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers. |
|
||||||
# opengl-oml : Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers. |
|
||||||
# opengl-swc : Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. |
|
||||||
# Works only with GLX backend. Known to be most effective on many drivers. |
|
||||||
# Does not actually control paint timing, only buffer swap is affected, so it doesn’t |
|
||||||
# have the effect of --sw-opti unlike other methods. Experimental. |
|
||||||
# opengl-mswc : Try to VSync with MESA_swap_control OpenGL extension. |
|
||||||
# Basically the same as opengl-swc above, except the extension we use. |
|
||||||
vsync = "opengl-mswc"; |
|
||||||
|
|
||||||
dbe = false; |
|
||||||
paint-on-overlay = true; |
|
||||||
sw-opti = true; |
|
||||||
unredir-if-possible = true; |
|
||||||
focus-exclude = [ ]; |
|
||||||
detect-transient = true; |
|
||||||
detect-client-leader = true; |
|
||||||
|
|
||||||
################################# |
|
||||||
# Window type settings |
|
||||||
################################# |
|
||||||
|
|
||||||
wintypes: |
|
||||||
{ |
|
||||||
tooltip = |
|
||||||
{ |
|
||||||
fade = true; |
|
||||||
shadow = false; |
|
||||||
opacity = 0.85; |
|
||||||
focus = true; |
|
||||||
}; |
|
||||||
}; |
|
||||||
|
|
||||||
# For more information about the settings, see /etc/xdg/compton.conf |
|
||||||
|
Loading…
Reference in new issue