aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/mpd-restart
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/mpd-restart')
-rwxr-xr-xdotfiles/.local/bin/mpd-restart8
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 &