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