.bashrc are filled with standard debian stuff, .bash_profile is better approach (similar as in arch https://wiki.archlinux.org/index.php/Sway)

Mariusz Białończyk 2020-02-20 09:23:37 +01:00
parent 7739f0c004
commit f97c1ca7df

@ -95,7 +95,7 @@ You can then change to use the multi-user target:
systemctl set-default multi-user.target
````
By changing to the multi-user.target, you will be prompted to log in at a tty. After logging in you can run `sway` to start up your new window manager. If you would like to have sway start automatically on a specific tty, you can configure your `.bashrc` file to do so:
By changing to the multi-user.target, you will be prompted to log in at a tty. After logging in you can run `sway` to start up your new window manager. If you would like to have sway start automatically on a specific tty, you can configure your `.bash_profile` file to do so:
````
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then