koka.umbrella β Umbrella Countdown
A single-purpose Omarchy bar widget that counts down to the next rain. No temperatures, no forecasts, no weather dashboard β just the one question: do I need an umbrella today?
Plugin ID: koka.umbrella
Author: koka.no (koka.no)
Bar states
| State | Meaning |
|---|---|
βοΈ |
No rain expected in the next 16 hours |
β 30m |
Rain starting within 2 hours β minutes countdown |
π 2h |
Rain expected later today β hours countdown |
Rain counts when the hourly precipitation exceeds 0.1 mm within the next 2 hours (soon) or 0.2 mm within 16 hours (later).
Installation
omarchy plugin add https://github.com/SjoenH/omarchy-umbrella.git --enable
Then add koka.umbrella to your bar layout in ~/.config/omarchy/shell.json
and restart the shell:
omarchy restart shell
Remove
omarchy plugin remove koka.umbrella
Usage
- Left-click β panel with the rain timeline (startβend and mm of every rain window in the next 16 hours) and the location setting
- Right-click β notification with the current rain verdict
- Middle-click β force a refresh
Location is read from omarchy-weather-location (shared with the stock
weather tooling). Without a configured location the widget falls back to an
approximate IP-geolocated position. Weather data: Open-Meteo,
hourly precipitation, no API key.
Auto-refresh defaults to 15 minutes; set "refreshMinutes" on the widget's
entry in ~/.config/omarchy/shell.json to change it.
Set "barMode": "radar" to show a Yr-style mini radar chart (next 90
minutes) in the bar instead of the umbrella countdown. With no live radar
data it falls back to the umbrella label.
Radar sources
- MET Norway nowcast/2.0 (Nordics + Baltics only): 5-minute radar steps
with exact mm/h, powering
β Now, the 90-minute chart, and hover readouts. Outside this region the widget falls back to the hourly forecast β no radar verdicts, no chart.
Development
# Pure logic tests (rain windows, thresholds, labels)
qmltestrunner -input BarWidget.spec.qml
# Lint
OMARCHY_PATH=/usr/share/omarchy qmllint -I /usr/share/omarchy/shell *.qml
History
This started as koka.weather, a fork of the official omarchy.weather
plugin with umbrella alerts bolted on. v2.0.0 dropped the whole weather
picture to focus on the one job it was actually doing.
License
MIT