chore: added auto startx on tty1

This commit is contained in:
Afonso Franco 2023-05-05 21:46:32 +01:00
parent c8b4821f0b
commit 57591b0c03
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4

View file

@ -2,6 +2,10 @@ if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
end end
if status --is-login
[ "$(tty)" = "/dev/tty1" ] && exec startx -- -keeptty
end
fish_default_key_bindings fish_default_key_bindings
set -gx EDITOR nvim set -gx EDITOR nvim