sway: don't fork mpd/mpDris2 and restart if necessray

This commit is contained in:
lelgenio 2021-06-15 02:36:46 -03:00
parent 489cb447e0
commit 3d2d37092c
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ exec kdeconnect-indicator
# Telegram
exec telegram-desktop-bin || telegram-desktop
# Music Player Daemon
exec pidof mpd || mpd
exec pidof -x mpDris2 || sleep 5s && mpDris2
exec_always pidof mpd || mpd --no-daemon
exec_always pidof -x mpDris2 || sleep 5s && mpDris2
# Syncthing, sync folders between stuff
exec pidof syncthing || syncthing -no-browser