replace compton config with picom
This commit is contained in:
@@ -247,7 +247,7 @@ for_window [class="firefox"] border none
|
||||
#############################################
|
||||
|
||||
# composite manager
|
||||
exec --no-startup-id compton -b --config ~/.config/compton.conf
|
||||
exec --no-startup-id picom -b --config ~/.config/picom.conf
|
||||
# less eye pain
|
||||
#exec --no-startup-id redshift -l 46:7
|
||||
# no beep!
|
||||
|
||||
@@ -22,36 +22,19 @@ backend = "glx";
|
||||
#################################
|
||||
glx-no-stencil = true;
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
# Set VSync method. VSync methods currently available:
|
||||
# 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.
|
||||
# (Note some VSync methods may not be enabled at compile time.)
|
||||
# NOTE! Try using "none" first and using video driver configuration
|
||||
# to handle vsync properly before resorting to a compositor!
|
||||
#vsync = "opengl-swc";
|
||||
vsync = "none";
|
||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
||||
# Known to cause flickering when redirecting/unredirecting windows.
|
||||
# paint-on-overlay may make the flickering less obvious.
|
||||
unredir-if-possible = true;
|
||||
use-damage = true;
|
||||
vsync = true;
|
||||
|
||||
#################################
|
||||
#
|
||||
# Opacity
|
||||
#
|
||||
#################################
|
||||
|
||||
menu-opacity = 1;
|
||||
inactive-opacity = 1;
|
||||
active-opacity = 1;
|
||||
frame-opacity = 1;
|
||||
inactive-opacity-override = false;
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0)
|
||||
#inactive-dim = 0.2;
|
||||
# Do not let dimness adjust based on window opacity.
|
||||
Reference in New Issue
Block a user