fixed forecast opening
This commit is contained in:
		
							parent
							
								
									8cb53c0b17
								
							
						
					
					
						commit
						e9cb9b4cf6
					
				
							
								
								
									
										3
									
								
								weather
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								weather
									
									
									
									
									
								
							@ -282,7 +282,8 @@ display_forecast() {
 | 
				
			|||||||
        # can display in a popup
 | 
					        # can display in a popup
 | 
				
			||||||
        tmux display-popup "echo 'Grabbing forecast...'; $FORECAST"
 | 
					        tmux display-popup "echo 'Grabbing forecast...'; $FORECAST"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        weather=$FORECAST
 | 
					        $FORECAST >/tmp/weather
 | 
				
			||||||
 | 
					        weather="/tmp/weather"
 | 
				
			||||||
        setsid -f st -e less -Srf "$weather"
 | 
					        setsid -f st -e less -Srf "$weather"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user