This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |