xsession: daily change of compton command-line

This commit is contained in:
Vincent Bernat 2018-08-03 07:59:41 +02:00
parent 197e5cdb1d
commit f6486dff94

View file

@ -41,9 +41,11 @@ systemd-run -q --scope --user tmux start-server
case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation")
# --glx-swap-method 2 causes cursor to be duplicated earlier on the line
#compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --glx-no-rebind-pixmap
compton --daemon --backend xrender
# --glx-swap-method 2 causes cursor to be duplicated earlier on the line or flickering
# --glx-no-rebind-pixmap triggers some slow refresh, eg when using `delete-indentation' in Emacs
compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --paint-on-overlay
# It seems there is no way to not have tearing with xrender...
#compton --daemon --backend xrender
;;
*)
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay