My fork of wttrbar, a simple but detailed weather indicator for Waybar using wttr.in. This uses Nerd Fonts icons rather than Noto Fonts emojis.
Compile yourself using cargo build --release and add the resulting wttrbar binary to your $PATH.
--ampm- display time in AM/PM format--location- pass a specific location to wttr.in--main-indicator- decide whichcurrent_conditionskey will be shown on waybar. defaults totemp_C--date-format- defaults to%Y-%m-%d, formats the date next to the days. see reference--hide-conditions- show a shorter descrpition next to each hour, like7° Mistinstead of7° Mist, Overcast 81%, Sunshine 17%, Frost 15%--fahrenheit- use fahrenheit instead of celsius
e.g. wttrbar --date-format "%m/%d" --location Paris --hide-conditions
Assuming wttrbar is in your path, it can be used like:
"custom/weather": {
"format": "{} °",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar",
"return-type": "json"
},