Weather

> Published on Mon, 4 Dec 2023, 12:52> Updated on Fri, 15 Dec 2023, 16:02

Description

The weather widget displays the current weather for a given location. It uses the wttr.in API to fetch the weather data. You can either set a location in the widget settings or let simple-bar use the location API exposed by Übersicht. If you want to use the location API, you need to allow Übersicht to access your location in the System Preferences.

Interactions

You can click on the widget to open the wttr.in website for your location. You can refresh the widget by right clicking it.

Available settings

You can set the following weather widget settings in the simple-bar settings:

  • Refresh frequency: The refresh frequency in milliseconds. Default is 1800000 (30 minutes).
  • Show on display: The displays on which the widget will be displayed. Add a list of indexes (for example: "1,2"). Leave blank to display the widget on every spaces. Default is "".
  • Temperature unit: The temperature unit to use (C or F). Default is "C".
  • Hide location: Hide the location in the widget. Default is false.
  • Hide gradient: Hide the sunset/sunrise gradient in the widget. Default is false.
  • Your location: Set your location. Default is "" as the location is determined by the location API.
Something is wrong in this documentation? Please open an issue on GitHub in simple-bar repo.