mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
adding shell autostart configuration
parent
b6cf429387
commit
dff924d31e
9
Home.md
9
Home.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue