Move sway init to first thing to do in fish
This commit is contained in:
parent
1f38c3c29f
commit
38390db87c
|
@ -112,6 +112,11 @@ with lib;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
interactiveShellInit = ''
|
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
|
function fish_greeting
|
||||||
${pkgs.timg}/bin/timg ${./arona.jpg}
|
${pkgs.timg}/bin/timg ${./arona.jpg}
|
||||||
printf (env LANG=ja_JP.UTF-8 date +"ご主人様、お帰りなさい!\n今日は%A、%Y年%m月%d日ですねー!今の時間って、%H時%M分です〜 \n言って言ってご主人様、コンピュターちゃんと何がするつもりでしょーか?〜エヘヘっ\n")
|
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 -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_MB_OPT --install_base\ \"${config.home.homeDirectory}/perl5\";
|
||||||
set -x PERL_MM_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 = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue