Taskwarrior: Display newest task first
This commit is contained in:
		
							parent
							
								
									bfcf7fb83d
								
							
						
					
					
						commit
						0f34b99451
					
				|  | @ -46,7 +46,7 @@ display_current_task() {                                        # {{{ | ||||||
| # }}} | # }}} | ||||||
| select_task() {                                                 # {{{ | select_task() {                                                 # {{{ | ||||||
| 	## Display pending tasks list and get title from the choosen one | 	## Display pending tasks list and get title from the choosen one | ||||||
| 	TITLE=$(task status:pending export | jq -r 'sort_by( -.urgency )[] | [ (.id|tostring), .description ] | join("	")' | | 	TITLE=$(task status:pending export | jq -r 'sort_by( -.urgency )[] | [ (.id|tostring), .description ] | join("	")' | sort --numeric-sort --reverse | | ||||||
| 		rofi -location 2 -no-auto-select -i -dmenu -p "Task" -color-enabled -color-normal "${black},${blue},${black},${blue},${black}" -color-window "${black},${black}" | | 		rofi -location 2 -no-auto-select -i -dmenu -p "Task" -color-enabled -color-normal "${black},${blue},${black},${blue},${black}" -color-window "${black},${black}" | | ||||||
| 		cut --delimiter="	" --field=2) | 		cut --delimiter="	" --field=2) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue