fish: auto startx on tty1

This commit is contained in:
dogeystamp 2024-10-19 12:20:31 -04:00
parent 3901276992
commit 749b49bbac
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 7 additions and 1 deletions

View File

@ -8,4 +8,4 @@
# Use fish in place of bash
# keep this line at the bottom of ~/.bashrc
[ -x {{ $fish_path }} ] && SHELL={{ $fish_path }} exec fish
[ -x {{ $fish_path }} ] && SHELL={{ $fish_path }} exec fish -l

View File

@ -32,3 +32,9 @@ if status --is-interactive
zoxide init fish | source
end
end
if status is-login
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
exec startx
end
end