New backup 2025-03-18 16:45:02
This commit is contained in:
		
							parent
							
								
									160837192a
								
							
						
					
					
						commit
						626b846926
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -12,6 +12,7 @@ fi
 | 
			
		|||
#cat "${wttr_cache}"
 | 
			
		||||
 | 
			
		||||
condition="$(jq -r '.current_condition[0].weatherDesc[0].value' ${wttr_cache})"
 | 
			
		||||
condition_code="$(jq -r '.current_condition[0].weatherCode' ${wttr_cache})"
 | 
			
		||||
current_temp="$(jq -r '.current_condition[0].temp_F' ${wttr_cache})"
 | 
			
		||||
feels_temp="$(jq -r '.current_condition[0].FeelsLikeF' ${wttr_cache})"
 | 
			
		||||
min_temp="$(jq -r '.weather[0].mintempF' ${wttr_cache})"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
wttr_cache="${HOME}/.cache/wttr.json"
 | 
			
		||||
jq -r '.current_condition[0].weatherDesc[0].value' ${wttr_cache}
 | 
			
		||||
jq -r '.current_condition[0].weatherCode' ${wttr_cache}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue