mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 05:14:22 +02:00
Revert "xsession: use same compton parameters everywhere"
This reverts commit 2e9f68f6d4
. This is
still noticeably slower than the xrender backend.
This commit is contained in:
parent
2e9f68f6d4
commit
c056d836ce
1 changed files with 15 additions and 1 deletions
16
xsession
16
xsession
|
@ -38,6 +38,20 @@ 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
|
||||
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay
|
||||
|
||||
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 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 --paint-on-overlay
|
||||
;;
|
||||
*)
|
||||
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
exec awesome
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue