officemusic/run.sh

10 lines
233 B
Bash
Raw Normal View History

2020-09-30 20:54:28 +00:00
#! /usr/bin/env bash
# Sleep for a while because crap wifi coverage at office so network connection takes ages to come online
sleep 5
while true; do
git pull
mpv --shuffle --ytdl-format="bestaudio" --playlist=playlist.txt
done