From 6807a2db3585e9612f3f1d7e023751a861ce1cf3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 19 Apr 2023 15:17:40 +0100 Subject: [PATCH] Add shortcut to run neovide under X11 (wayland temp fix) --- home/env/fish.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/env/fish.nix b/home/env/fish.nix index 8015721c..df635bc7 100644 --- a/home/env/fish.nix +++ b/home/env/fish.nix @@ -5,10 +5,11 @@ programs.fish = { enable = true; shellAbbrs = { - update = "sudo nixos-rebuild switch --upgrade && home-manager switch -b backup"; nr = "sudo nixos-rebuild"; hm = "home-manager"; lg = "lazygit"; + nv = "neovide --multigrid --maximised"; + xnv = "WINIT_UNIX_BACKEND=x11 neovide --multigrid --maximised"; }; }; }