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