diff --git a/home/fish/fish.nix b/home/fish/fish.nix index 826cc47..1544bd5 100644 --- a/home/fish/fish.nix +++ b/home/fish/fish.nix @@ -112,6 +112,11 @@ with lib; ''; interactiveShellInit = '' + # Sway! + if status --is-login; and which sway >/dev/null; and test -z $DISPLAY; and test (tty) = "/dev/tty1" + read -P "Press enter to start sway..."; and exec sway + end + function fish_greeting ${pkgs.timg}/bin/timg ${./arona.jpg} printf (env LANG=ja_JP.UTF-8 date +"ご主人様、お帰りなさい!\n今日は%A、%Y年%m月%d日ですねー!今の時間って、%H時%M分です〜 \n言って言ってご主人様、コンピュターちゃんと何がするつもりでしょーか?〜エヘヘっ\n") @@ -178,11 +183,6 @@ with lib; set -q PERL_LOCAL_LIB_ROOT; or set -x PERL_LOCAL_LIB_ROOT ${config.home.homeDirectory}/perl5; set -x PERL_MB_OPT --install_base\ \"${config.home.homeDirectory}/perl5\"; set -x PERL_MM_OPT INSTALL_BASE=${config.home.homeDirectory}/perl5; - - # Sway! - if status --is-login; and which sway >/dev/null; and test -z $DISPLAY; and test (tty) = "/dev/tty1" - read -P "Press enter to start sway..."; and exec sway - end ''; plugins = [ {