Add true command to launch sway to fish

This commit is contained in:
Victor Mignot 2024-04-06 22:25:09 +02:00
parent 23dcf6b4e3
commit ea5c2c621e
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -24,6 +24,8 @@ with lib;
shellInit = '' shellInit = ''
set -g theme_color_scheme nord set -g theme_color_scheme nord
if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ] if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ]
# To be used when Mesa 24.1 is out
# exec ${pkgs.sway}/bin/.sway-wrapped
exec ${pkgs.sway}/bin/sway exec ${pkgs.sway}/bin/sway
end end
''; '';