aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/profile b/profile
index ee3522c..cbee52d 100644
--- a/profile
+++ b/profile
@@ -2,8 +2,11 @@
[[ "$(tty)" != /dev/tty* ]] && return
# Start music player daemon
-mpd ~/.config/mpd/mpd.conf
+~/.service/mpd -q status || ~/.service/mpd start
# Start email synchronization
~/.local/sbin/syncemail
+# Start syncthing
+~/.service/syncthing -q status || ~/.service/syncthing start
+
# And if we are on first terminal also automatically start x server
[ "$(tty)" = "/dev/tty1" ] && exec startx -- vt1