mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 22:43:58 +01: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
|
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
|
## 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.
|
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 New Issue
Block a user