scripts

Scripts
git clone git://git.wimdupont.com/scripts.git
Log | Files | Refs | LICENSE

commit 3b4b2433469991ddc68ec00ef089b4122d010796
parent 72a69063933a5fa836c6ac71417a21b6f423b5b6
Author: Wim Dupont <wim@wimdupont.com>
Date:   Sun, 16 Jun 2024 22:39:42 +0200

updated script mods to 755

Diffstat:
Mbin/askpass | 0
Mbin/auru | 0
Mbin/bookmark | 0
Mbin/coin | 0
Mbin/dict | 0
Mbin/gitc | 0
Mbin/mpvd | 4++--
Mbin/mpvpop | 0
Mbin/radio | 0
Mbin/ugamma | 0
Mbin/wta | 0
Mbin/yt | 0
Mbin/ytd-album | 0
13 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/askpass b/bin/askpass diff --git a/bin/auru b/bin/auru diff --git a/bin/bookmark b/bin/bookmark diff --git a/bin/coin b/bin/coin diff --git a/bin/dict b/bin/dict diff --git a/bin/gitc b/bin/gitc diff --git a/bin/mpvd b/bin/mpvd @@ -4,7 +4,7 @@ source ~/.config/scripts/properties shopt -s nullglob globstar -prefix=${MUSIC_DIR-~/Music} +prefix=${MUSIC_DIR-~/music} musicdirs=( "$prefix"/*/) for value in "${musicdirs[@]}" @@ -27,7 +27,7 @@ playsongdir=$(printf "no\nyes" | "$dmenu" -fn "$dmenu_font" -i "$@" -p "Play ful [[ -n $playsongdir ]] || exit if [[ "$playsongdir" == no ]]; then - prefix=${MUSIC_DIR-~/Music/"$songdir"} + prefix=${MUSIC_DIR-~/music/"$songdir"} songdirs=( "$prefix"/**/*) songdirs=( "${songdirs[@]#"$prefix"/}" ) songdirs=( "${songdirs[@]%}" ) diff --git a/bin/mpvpop b/bin/mpvpop diff --git a/bin/radio b/bin/radio diff --git a/bin/ugamma b/bin/ugamma diff --git a/bin/wta b/bin/wta diff --git a/bin/yt b/bin/yt diff --git a/bin/ytd-album b/bin/ytd-album