From 0292fdc9d30185afa0e457bbd9b97b5162952b2a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 2 May 2019 14:29:29 +0200 Subject: [PATCH] xsession: simplify compton invocation Same command-line for everyone. No point in keeping outdated/false instructions for Nvidia. --- xsession | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/xsession b/xsession index 9b9d1ba..c9abd4b 100644 --- a/xsession +++ b/xsession @@ -38,26 +38,6 @@ nmcli radio all off rfkill block all 2> /dev/null redshift -l 6.666:46.533 -t 6500:3900 2> /dev/null & systemd-run -q --scope --user tmux start-server - -case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in - "NVIDIA Corporation") - # This require to disable "Allow flipping" in "nvidia-settings" - # compton --daemon --backend glx \ - # --glx-no-stencil \ - # --glx-swap-method copy \ - # --glx-no-rebind-pixmap \ - # --xrender-sync-fence \ - # --paint-on-overlay \ - # --unredir-if-possible \ - # --no-dnd-shadow --no-dock-shadow - # It seems there is no way to not have tearing with xrender... - compton --backend xrender --paint-on-overlay & - ;; - *) - compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay & - ;; -esac - - +compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay & exec awesome