sway: don't fork mpd/mpDris2 and restart if necessray
This commit is contained in:
parent
489cb447e0
commit
3d2d37092c
|
@ -15,8 +15,8 @@ exec kdeconnect-indicator
|
||||||
# Telegram
|
# Telegram
|
||||||
exec telegram-desktop-bin || telegram-desktop
|
exec telegram-desktop-bin || telegram-desktop
|
||||||
# Music Player Daemon
|
# Music Player Daemon
|
||||||
exec pidof mpd || mpd
|
exec_always pidof mpd || mpd --no-daemon
|
||||||
exec pidof -x mpDris2 || sleep 5s && mpDris2
|
exec_always pidof -x mpDris2 || sleep 5s && mpDris2
|
||||||
# Syncthing, sync folders between stuff
|
# Syncthing, sync folders between stuff
|
||||||
exec pidof syncthing || syncthing -no-browser
|
exec pidof syncthing || syncthing -no-browser
|
||||||
|
|
||||||
|
|
Reference in New Issue