dotfiles/scripts/wezterm-gui

9 lines
201 B
Plaintext
Raw 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-gui $argv
else
/usr/bin/wezterm-gui $argv
end