From 3d2d37092cd57115db0f13fe657d6a43edaced46 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Tue, 15 Jun 2021 02:36:46 -0300 Subject: [PATCH] sway: don't fork mpd/mpDris2 and restart if necessray --- dotfiles/sway/daemons | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/sway/daemons b/dotfiles/sway/daemons index a54b0c0..c4949ea 100644 --- a/dotfiles/sway/daemons +++ b/dotfiles/sway/daemons @@ -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