Fix fish issue

This commit is contained in:
Victor Mignot 2024-08-01 22:47:39 +02:00
parent a52e147e5e
commit 58bde11d4f
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -2,7 +2,6 @@
lib,
pkgs,
config,
nvidiaGPU,
...
}:
with lib;
@ -11,7 +10,7 @@ let
if config.my.desktop.sway.enable then
''
if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ]
exec sway
exec ${pkgs.sway}/bin/sway
end
''
else
@ -34,7 +33,7 @@ in
shellInit = ''
set -g theme_color_scheme nord
${swayLauncScript}
${swayLaunchScript}
'';
};
}