omarchy
omarchy copied to clipboard
New weather widget does not show temperature in US
System details
Omarchy 3.8 RC
What's wrong?
The new weather widget does not show temperature in the USA because it defaults to F not C in the USA. The request to wttr.in can be forced to use metric as follows:
weather=$(curl -fsS --max-time 4 "https://wttr.in?m&format=%l|%t|%w" 2>/dev/null | tr -d '\n')
Fixed in https://github.com/basecamp/omarchy/commit/0c6bd1929fd32ba9ef9eed6a4da484998e613e04