Usage
Runotter-weather without arguments to fetch and print a forecast for the configured location. Pass coordinates to override the config.
Bar Widget Integration
The otter-bar weather widget reads from a bounded local cache file. Use--write-cache to refresh that cache after a fetch. Add --watch SECONDS to keep it updated in the background. A typical autostart line:
--layer flag opens the cached forecast in a small layer-shell popup that closes when clicked. Bind it to the bar widget button.
Responses are capped at 128 KiB, so the cache file stays small and fetch time stays predictable.
Configuration
otter-weather reads~/.config/otter-shell/otter-weather.conf.
latitude/longitude: your location (default is London)cache_path: cache file location. Empty uses the default XDG cache locationwrite_cache: write cache after fetchwatch_seconds: refresh interval in watch mode. Config reloads between refreshes, so you can change location without restarting the daemon

