Compare commits
1 Commits
54ee85d052
...
f895f2b2f3
Author | SHA1 | Date | |
---|---|---|---|
f895f2b2f3 |
12
home/default/scripts/restart-music
Executable file
12
home/default/scripts/restart-music
Executable 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
|
||||||
|
|
5
home/default/scripts/update-mpd
Executable file
5
home/default/scripts/update-mpd
Executable 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
|
Loading…
Reference in New Issue
Block a user