Reversing notifs so that it's newest last, seems more usable that way.

This commit is contained in:
Zergling_man 2022-10-24 05:02:05 +11:00
parent 867903be00
commit 949490b890

View File

@ -47,9 +47,9 @@ getbody(){ a=$(cat); b=${a//\"/\\\"}; while read n; do c="$c\n$n"; done <<< "$b"
actions="notifs notifs2 comments freepost shitpost follow unfollow home deref whoami login" actions="notifs notifs2 comments freepost shitpost follow unfollow home deref whoami login"
#Endpoints. #Endpoints.
#Lurkan #Lurkan
notifs(){ getauth "user/replies" ".replies | $notifs"; } notifs(){ getauth "user/replies" ".replies | reverse | $notifs"; }
notifs2(){ getauth "user/mention" ".mentions | $notifs"; } notifs2(){ getauth "user/mention" ".mentions | reverse | $notifs"; }
following(){ home; } following(){ home; } # I am gonna fuck myself up so bad when I remap this.
home(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; } home(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; }
comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; } comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; }
#Postan #Postan