Skip to content

Instantly share code, notes, and snippets.

@GitSkunk
GitSkunk / mpdsetup.sh
Created February 14, 2020 00:22 — forked from kurobeats/mpdsetup.sh
From http://dl.53280.de/mpdsetup.sh before it went down
#!/bin/bash
clear
username=$(whoami)
interface=`ip route show | cut -d ' ' -f 3 | head -1`
interface=$(ip route show | awk '{print $NF}' | tail -1)
echo "What is the full path of the directory containing your music?"
read -e -p "> " music_dir
if test -n "$(pgrep pulseaudio)";
then