From 82f581d0a57310af697dbe92acbad68abdb009ed Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 2 Jan 2025 10:32:24 +0300 Subject: [PATCH] dotfiles/zshrc: enable Vulkan renderer on balozi --- dotfiles/zshrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index c2aeacb..5f35082 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -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