mirror of
				https://github.com/mitchell/dotfiles.git
				synced 2025-11-03 21:25:26 +00:00 
			
		
		
		
	Add more attribtutes to push_tasks.fish payload
This commit is contained in:
		
							parent
							
								
									0a0a2decef
								
							
						
					
					
						commit
						116620843a
					
				| 
						 | 
					@ -2,7 +2,7 @@ function push_tasks -d 'Push tasks as a notification to your phone'
 | 
				
			||||||
    set tasks (task +READY export |
 | 
					    set tasks (task +READY export |
 | 
				
			||||||
                   jq 'sort_by(.urgency) |
 | 
					                   jq 'sort_by(.urgency) |
 | 
				
			||||||
                       reverse |
 | 
					                       reverse |
 | 
				
			||||||
                       map(@text "\(.description)\nLink: \(.link)") |
 | 
					                       map(@text "\(.description)\nLink: \(.link)\nWiki: http://wiki.m/\(.wiki)\nDue: \(.due)") |
 | 
				
			||||||
                       join("\n\n")')
 | 
					                       join("\n\n")')
 | 
				
			||||||
    send_push $tasks
 | 
					    send_push $tasks
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue