adding shell autostart configuration

eoli3n 2020-04-27 11:20:28 +02:00
parent b6cf429387
commit dff924d31e

@ -25,6 +25,15 @@ if [ "$(tty)" = "/dev/tty1" ]; then
fi
```
For Fish, create the file ``~/.config/fish/conf.d/sway.fish``
```bash
# If running from tty1 start sway
set TTY1 (tty)
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
exec sway
end
```
## Configuration
The suggested location for the sway configuration file is `~/.config/sway/config`. To begin configuring sway, create this directory and copy the default config.