mirror of
https://github.com/swaywm/sway.git
synced 2025-02-16 14:24:27 +00:00
.bashrc are filled with standard debian stuff, .bash_profile is better approach (similar as in arch https://wiki.archlinux.org/index.php/Sway)
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
|
||||
|
|
Loading…
Reference in a new issue