Now fetches comments the new way, but doesn't fetch *all* comments...
This commit is contained in:
		
							
								
								
									
										4
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -5,10 +5,10 @@ pkgver=0.1.0
 | 
			
		||||
pkgrel=2
 | 
			
		||||
pkgdesc='A pure bash client for lemmy, with multiaccount support.'
 | 
			
		||||
arch=('any')
 | 
			
		||||
url='https://gitea.rakka.tk/Zergling_man/clemmy'
 | 
			
		||||
url='http://precious.harpy.faith/Zergling_man/clemmy'
 | 
			
		||||
license=('GPL' 'custom:plusnigger.autism.exposed')
 | 
			
		||||
depends=('curl' 'jq')
 | 
			
		||||
source=('git+https://gitea.rakka.tk/Zergling_man/clemmy.git')
 | 
			
		||||
source=('git://precious.harpy.faith/Zergling_man/clemmy.git')
 | 
			
		||||
sha256sums=('SKIP') #Don't know how to use this on a repo.
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
 
 | 
			
		||||
@@ -2,4 +2,5 @@
 | 
			
		||||
notifs(){ getauth "user/replies" ".replies | reverse | $notifs"; }
 | 
			
		||||
notifs2(){ getauth "user/mention" ".mentions | reverse | $notifs"; }
 | 
			
		||||
home(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; }
 | 
			
		||||
comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; }
 | 
			
		||||
#This has to get complex now -.-
 | 
			
		||||
comments(){ getauth "post" "(.post_view | $showpost)" "id=$1"; getauth "comment/list" "(.comments | reverse | $comments_view)" "post_id=$1"; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user