diff --git a/pleroma-cli.sh b/pleroma-cli.sh index 2a4e254..984d3fe 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -90,16 +90,17 @@ timeline_menu() indexator=$(expr $indexator - 1) echo '_____' done - indexator=$(expr $max_statuses - 1) menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy) case $menu in "Prev") + indexator=$(expr $max_statuses - 1) echo '#EXTM3U' > attachments.m3u8 clear offset=$(jj -i preload 39.id) json=$(timeline_api $offset) ;; "Next") + indexator=$(expr $max_statuses - 1) echo '#EXTM3U' > attachments.m3u8 clear offset=$(jj -i preload 0.id)