Small changes

This commit is contained in:
Marko Korhonen 2020-03-02 21:48:34 +02:00
parent d127ea3593
commit 7e5070341b
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
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