From 717b9d9096ca47dbe152bb8470e3e700d2e25748 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 18 Nov 2019 18:09:37 +0100 Subject: [PATCH] Adapt compton config to new naming scheme picom --- .config/{compton/compton.conf => picom/picom.conf} | 4 ++-- .xinitrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename .config/{compton/compton.conf => picom/picom.conf} (96%) diff --git a/.config/compton/compton.conf b/.config/picom/picom.conf similarity index 96% rename from .config/compton/compton.conf rename to .config/picom/picom.conf index 0277a00..482ac09 100644 --- a/.config/compton/compton.conf +++ b/.config/picom/picom.conf @@ -47,7 +47,7 @@ glx-no-rebind-pixmap = true; # Useless with --glx-use-copysubbuffermesa. # Partially breaks --resize-damage. # Defaults to undefined. -glx-swap-method = "buffer-age"; +use-damage = true ################################# # @@ -177,7 +177,7 @@ refresh-rate = 0; # 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. # (Note some VSync methods may not be enabled at compile time.) -vsync = "opengl-swc"; +vsync = true; # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Reported to have no effect, though. diff --git a/.xinitrc b/.xinitrc index adbc3bf..97be0a4 100644 --- a/.xinitrc +++ b/.xinitrc @@ -53,8 +53,8 @@ type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' # if unclutter exists start it type unclutter >/dev/null 2>&1 && unclutter & -# if compton exists then we can start it as our compositor -type compton >/dev/null 2>&1 && compton & +# if picom exists then we can start it as our compositor +type picom >/dev/null 2>&1 && picom & # same deal with flashfocus as our active window indicator type flashfocus >/dev/null 2>&1 && flashfocus -l never & # if redshift is installed run it