dotfiles/zshrc: enable Vulkan renderer on balozi

This commit is contained in:
Alan Orth 2025-01-02 10:32:24 +03:00
parent 276bb1c239
commit 82f581d0a5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -42,9 +42,6 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
export SDL_VIDEODRIVER=wayland
# Signal to xdg-desktop-portal that we're on Sway
export XDG_CURRENT_DESKTOP=sway
# 2023-12-27: use Vulkan renderer in Sway
# 2024-03-23: still buggy
#export WLR_RENDERER=vulkan
# 2023-02-05: tell pip/poetry not to probe for keyrings. I'm not publishing
# packages to pypi.org and the popup during pip/poetry install is annoying.
@ -55,6 +52,13 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# See: https://github.com/bit-team/backintime/issues/1247
export RSYNC_OLD_ARGS=1
{%@@ endif @@%}
{%@@ if profile == "balozi" @@%}
# 2023-12-27: use Vulkan renderer in Sway
# 2024-03-23: still buggy
# 2025-01-02: seem to work on newer Intel
export WLR_RENDERER=vulkan
{%@@ endif @@%}
fi
# Enable zsh completions for mise version manager