From dff924d31ed04fdf3a99aaa1ae6c181abc1490c2 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 27 Apr 2020 11:20:28 +0200 Subject: [PATCH] adding shell autostart configuration --- Home.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Home.md b/Home.md index 312908e..4dab500 100644 --- a/Home.md +++ b/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.