diff --git a/.config/systemd/user/sway.service b/.config/systemd/user/sway.service deleted file mode 100644 index 5477d74..0000000 --- a/.config/systemd/user/sway.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Sway window manager - -[Service] -ExecStart=/usr/bin/sway -Restart=always -RestartSec=10 - -[Install] -WantedBy=wm.target - diff --git a/.gitignore b/.gitignore index c51360f..d8bf97a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ .config/dconf .config/nvim/autoload/ .config/pulse/ +.config/systemd/user/*.wants .config/zsh/.zcompdump diff --git a/.profile b/.profile index dc39dbd..95e18f4 100644 --- a/.profile +++ b/.profile @@ -42,3 +42,6 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # Application options export QT_QPA_PLATFORMTHEME="gtk2" + +# Start Sway +[ "$(tty)" = "/dev/tty1" ] && exec sway diff --git a/install b/install index 9f534ed..aef8277 100755 --- a/install +++ b/install @@ -77,7 +77,6 @@ install() { configure() { systemctl --user enable ssh-agent - systemctl --user enable sway } install && link && configure