autostart sway on first console
This commit is contained in:
parent
02b8f43efc
commit
0c231f7a87
1 changed files with 5 additions and 1 deletions
|
@ -65,6 +65,10 @@ precmd_user_func = "title"
|
|||
. "$(fzf-share)/completion.bash"
|
||||
. <(z --init bash)
|
||||
. <(direnv hook bash)
|
||||
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
exec startsway
|
||||
fi
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue