From 4868f26dadc82cc808e88311c44b283dfc9120a9 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 19 Sep 2022 12:35:40 +0200 Subject: [PATCH] [Fish] Add abbreviation for launching software with Nvida --- org/config/fish.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/org/config/fish.org b/org/config/fish.org index 6f18565..8d841e8 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -687,6 +687,12 @@ abbr nsxiv 'nsxiv -abfs f' abbr sxiv 'nsxiv -abfs f' # old habits die hard #+END_SRC +The following abbreviation is here so I can easily launch software +with my Nvidia GPU. +#+begin_src fish +abbr nv 'env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia' +#+end_src + Finally, let's declare the following abbreviation that will launch an mpv instance displaying my webcam: #+BEGIN_SRC fish