Small changes

This commit is contained in:
Marko Korhonen 2020-03-02 21:48:34 +02:00
parent 2049c855fe
commit 2a36a1e32f
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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