mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-31 16:24:25 +02:00
xsession: simplify compton invocation
Same command-line for everyone. No point in keeping outdated/false instructions for Nvidia.
This commit is contained in:
parent
262355792a
commit
0292fdc9d3
1 changed files with 1 additions and 21 deletions
22
xsession
22
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue