Compare commits

..

1 Commits

Author SHA1 Message Date
f895f2b2f3 remove mpd in restart music script 2022-03-22 21:07:48 -04:00
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
echo stopping pipewire-media-session...
systemctl --user stop pipewire-media-session
echo stopping pipewire...
systemctl --user stop pipewire
echo starting pipewire...
systemctl --user start pipewire
echo starting pipewire-media-session...
systemctl --user start pipewire-media-session

View File

@ -0,0 +1,5 @@
#!/bin/sh
set -eoux pipefail
# uses mpc to manually trigger a mpd update
mpc -h localhost -p 6600 --password update