[fish] Run sway right from tty1 as we used to with zsh
This commit is contained in:
parent
f5167ef4d3
commit
b4cb2c8a4d
|
@ -243,6 +243,11 @@ in
|
|||
|
||||
programs.fish.package = unstable.pkgs.fish;
|
||||
programs.fish.enable = true;
|
||||
programs.fish.loginShellInit = ''
|
||||
if [ (/run/current-system/sw/bin/tty) = "/dev/tty1" ]
|
||||
exec sway-run
|
||||
end
|
||||
'';
|
||||
programs.fish.shellInit = ''
|
||||
set -U fish_greeting
|
||||
fzf_configure_bindings
|
||||
|
|
Loading…
Reference in New Issue