tweaked weather script layout and coloring
This commit is contained in:
		
							parent
							
								
									235cfce1d0
								
							
						
					
					
						commit
						0e0bc70e98
					
				@ -15,7 +15,7 @@ type Weather struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (w *Weather) String() string {
 | 
			
		||||
	return fmt.Sprintf("%c %.1f%cF %d%%", w.Icon, w.Temp, '\u00B0', w.Humidity) // Output as ICON ##.#*F ##% where the rune is a degree sign
 | 
			
		||||
	return fmt.Sprintf("%c  %.1f%cf %d%%", w.Icon, w.Temp, '\u00B0', w.Humidity) // Output as ICON ##.#*F ##% where the rune is a degree sign
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@ -21,7 +21,8 @@ set -g @plugin 'thewtex/tmux-mem-cpu-load'
 | 
			
		||||
set -g status-interval 1
 | 
			
		||||
set -g status-right "#[bg=black]#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load -p -i 1 -a 1)#[default] %a %l:%M "
 | 
			
		||||
set -g status-right-length 100
 | 
			
		||||
set -g status-left "#(~/.dotfiles/bin/weather/weather)#[default] "
 | 
			
		||||
set -g status-left "#[bg=black,fg=white]#(~/.dotfiles/bin/weather/weather) | #[default] "
 | 
			
		||||
set -g status-left-length 20
 | 
			
		||||
 | 
			
		||||
# tmux auto start
 | 
			
		||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user