Spotify blocklet controls, build main.scss

ranger icons.
This commit is contained in:
2019-03-03 02:17:39 -05:00
parent 3fc23d00bd
commit 79ef30f09b
20 changed files with 321 additions and 52 deletions

View File

@@ -53,8 +53,7 @@ fi
# rebuild shuffle cache if regen_flag, doesn't exist or file empty
if [[ "$regen_flag" -eq 1 ]] || [[ ! -f "$dir"/"$shuffle_cache" ]] || \
[[ $(wc -l "$dir"/"$shuffle_cache" | awk '{print $1}') -eq 0 ]]; then
# if [[ "$regen_flag" -eq 1 ]]; then
[[ "$(head -n 1 "$dir"/"$shuffle_cache")" = "" ]]; then
find "$dir"/* ! -name "$shuffle_cache" -type f | shuf > "$dir"/"$shuffle_cache"
fi
head -n 1 "$dir"/"$shuffle_cache"