From 5d031ac2497d1461328c2c8b574820803326e957 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 2 Mar 2020 21:48:34 +0200 Subject: [PATCH] Small changes --- home/.config/systemd/user/ydotoold.service | 5 ++--- home/.zprofile | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/home/.config/systemd/user/ydotoold.service b/home/.config/systemd/user/ydotoold.service index 9e0cda73..2832af66 100644 --- a/home/.config/systemd/user/ydotoold.service +++ b/home/.config/systemd/user/ydotoold.service @@ -1,10 +1,9 @@ [Unit] Description=Generic command-line automation tool -PartOf=graphical-session.target [Service] -Type=simple ExecStart=/usr/bin/ydotoold +Restart=on-failure [Install] -WantedBy=sway-session.target +WantedBy=default.target diff --git a/home/.zprofile b/home/.zprofile index c7215bd7..7131b02d 100644 --- a/home/.zprofile +++ b/home/.zprofile @@ -1 +1 @@ -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sway > /dev/null 2>&1 +[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && source ~/.config/sway/env && sway > /dev/null 2>&1