dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit e044b215d7297c69f1098ad4ba01302bee52158f
parent 99d8a9190455a01a76fec36cad442642c85b0f57
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 24 Mar 2020 18:44:04 +0100

Use one musicroot regardless of platform

Diffstat:
M.local/bin/youtube-dl-music | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.local/bin/youtube-dl-music b/.local/bin/youtube-dl-music @@ -1,6 +1,8 @@ #!/bin/sh set -ue +musicroot="/home/music/" + printf "use torsocks? [Y/n] " read -r REPLY case "$REPLY" in @@ -69,11 +71,6 @@ for f in *.mp3; do done IFS=$SAVEIFS -if [ "$(uname)" = "Darwin" ]; then - musicroot="$HOME/Music/iTunes/iTunes Media/Music/" -else - musicroot="/home/music/" -fi printf 'move to music folder (%s)? [Y/n] ' "$musicroot" read -r REPLY