Weather on I3 bar

Hi Team,

Where to edit weather on I3 bar? I didn’t see anything in ~/.config/i3 file
Or i miss something?

The output of the bar is configured in /etc/i3status.conf. Usually you would copy that to ~/i3status.conf I believe. For real information check here :grinning: https://wiki.archlinux.org/index.php/I3

1 Like

I’ll check then. Thanks.

i3status is not used by default on EndeavourOS-i3-setup…
We do use i3-blocks:

weather (openweather you need to get city code and apikey first [adding it to ~/.config/i3/scripts/openweather.sh]) get your api key here: https://openweathermap.org/appid and City code: https://openweathermap.org/find?q= (search your city and take the city code from the url in your browser [7 numbers at the end of the url])

or use the second weather script included:
https://github.com/endeavouros-team/i3-EndeavourOS/blob/master/.config/i3/scripts/weather2.sh
this will need to change the executable on blocks:

1 Like

Thank you!