diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-23 02:02:12 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-23 02:02:12 +0300 |
commit | 7b4991d6afea970e65acb32b1ba63dc08c29dcde (patch) | |
tree | d39aebe81159dac7dff889fb727428e3fabec9de /dotfiles/.local/bin/mpd-restart | |
parent | 959d6c3829d0c1fe8dcc739c4c03ff9b8309ac1d (diff) | |
download | swayrice-7b4991d6afea970e65acb32b1ba63dc08c29dcde.tar.gz swayrice-7b4991d6afea970e65acb32b1ba63dc08c29dcde.zip |
Script to launch mpd + mpd-mpris
Otherwise mpd-mpris was erroring out because it couldn't connect to mpd
yet.
Diffstat (limited to 'dotfiles/.local/bin/mpd-restart')
-rwxr-xr-x | dotfiles/.local/bin/mpd-restart | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/mpd-restart b/dotfiles/.local/bin/mpd-restart new file mode 100755 index 0000000..5903501 --- /dev/null +++ b/dotfiles/.local/bin/mpd-restart @@ -0,0 +1,8 @@ +#!/bin/sh + +killall mpd +killall mpd-mpris + +mpd & +sleep 1 +mpd-mpris & |