dotfiles/scripts/wezterm

9 lines
193 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env fish
if command -q prime-run
set -lx __NV_PRIME_RENDER_OFFLOAD 1
set -lx __VK_LAYER_NV_optimus NVIDIA_only
/usr/bin/wezterm $argv
else
/usr/bin/wezterm $argv
end