dotfiles/zshrc: use Vulkan renderer in Sway

Sway 1.8 greatly improved their Vulkan renderer so I'm going to try
to use it now.
This commit is contained in:
Alan Orth 2022-12-26 15:09:24 +02:00
parent 01bb3f6d3a
commit 96fb353c2c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
export SDL_VIDEODRIVER=wayland
# Signal to xdg-desktop-portal that we're on Sway
export XDG_CURRENT_DESKTOP=sway
# 2022-12-26: use Vulkan renderer in Sway
export WLR_RENDERER=vulkan
{%@@ endif @@%}
fi