Start sway via .profile

This commit is contained in:
Jordan Holt 2021-05-01 11:50:09 +01:00
parent 22b2135b86
commit a17566ac4b
4 changed files with 4 additions and 12 deletions

View File

@ -1,11 +0,0 @@
[Unit]
Description=Sway window manager
[Service]
ExecStart=/usr/bin/sway
Restart=always
RestartSec=10
[Install]
WantedBy=wm.target

1
.gitignore vendored
View File

@ -4,4 +4,5 @@
.config/dconf .config/dconf
.config/nvim/autoload/ .config/nvim/autoload/
.config/pulse/ .config/pulse/
.config/systemd/user/*.wants
.config/zsh/.zcompdump .config/zsh/.zcompdump

View File

@ -42,3 +42,6 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
# Application options # Application options
export QT_QPA_PLATFORMTHEME="gtk2" export QT_QPA_PLATFORMTHEME="gtk2"
# Start Sway
[ "$(tty)" = "/dev/tty1" ] && exec sway

View File

@ -77,7 +77,6 @@ install() {
configure() { configure() {
systemctl --user enable ssh-agent systemctl --user enable ssh-agent
systemctl --user enable sway
} }
install && link && configure install && link && configure