We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec42b4 commit e0b5235Copy full SHA for e0b5235
scripts/mac-player.sh
@@ -256,14 +256,14 @@ main() {
256
local full_track
257
full_track=$(trackStatus "$PAUSE_ICON" "$PLAY_ICON")
258
259
- if [ "$SCROLL" = false ]; then
+ if [ "$SCROLL" = "false" ]; then
260
sliceTrack "$full_track" "$MAX_LENGTH" > "$cache_file"
261
fi
262
263
264
# Allow scrolling
265
local str=$(cat "$cache_file")
266
- if [ "$SCROLL" = true ] && [ "${#str}" -ge $MAX_LENGTH ]; then
+ if [ "$SCROLL" = "true" ] && [ "${#str}" -ge $MAX_LENGTH ]; then
267
scroll "$str" "$MAX_LENGTH" "$SCROLL_SPEED"
268
else
269
echo "$str"
0 commit comments