Omahub
← All plugins
H

Prayer times

by husamemad

Mosque icon with next prayer countdown and a popup with today's five prayers

Security review

No obvious issues detected

Deterministic scan — not a security guarantee

None
Risk level
None
Analyzed commit
70e8f4d
Scanned
1 month ago

No potentially dangerous behavior detected in the analyzed commit.

Automated analysis only — not a security guarantee.

AI advisory review

No obvious issues detected

Language-model assessment · ~deepseek/deepseek-v4-flash-latest — advisory only

None
AI risk level
None
Recommendation
install
Model
~deepseek/deepseek-v4-flash-latest
Analyzed commit
70e8f4d
Reviewed
1 month ago

The plugin is a straightforward prayer-times bar widget that fetches data from public HTTPS APIs (Aladhan and Open-Meteo), caches results locally, and plays a system sound. No obfuscation, destructive commands, credential access, or hidden behavior was found; all external calls are to well-known services and the script uses safe parsing (jq) with no eval or shell injection vectors.

How this check works

This review combines the deterministic scan (the rule-based results above) with an independent look at the plugin's code by a language model. The model reads a trimmed sample of the repository's files, the manifest, and the README, then gives a plain-language risk level and a recommendation: install (no notable danger), review (look closer first), or avoid (clearly dangerous).

It runs on the same analyzed commit as the deterministic scan and is strictly advisory — it is not a security guarantee and never blocks a plugin by itself. A human moderator still reviews plugins before they are listed.

AI advisory only — automated analysis, not a security guarantee.

Install
$ omarchy plugin add https://github.com/husamemadH/omarchy-quattro-prayer-times --enable
Widgets #bar #quickshell #system

Prayer times

An Omarchy shell bar widget: a mosque icon that shows the next prayer and a live countdown on hover, with a click-to-open popup listing today's five prayer times.

Install

omarchy plugin add https://github.com/husamemadH/omarchy-quattro-prayer-times.git --enable

PS run 'omarchy restart shell' if you reinstalled to get the latest update

Uninstall

omarchy plugin remove local.prayer-times
<img width="210" height="544" alt="image" src="https://github.com/user-attachments/assets/6de88ef1-8ca2-4679-9abb-917b39dab199" />

Configuration

Everything is set from the popup, left-click the mosque icon to open it. Preferences are stored in ~/.local/state/omarchy/settings/prayer-alerts.json, separately from the cached times, which are rewritten on every refresh.

The city name — click it to search for somewhere else. The location is shared with the built-in weather widget (both read weather.json), so changing it here moves the weather too. Worth doing if IP geolocation puts you in the wrong place, which it will behind a VPN.

Alerts — a desktop notification as each prayer time lands, which clears itself after 8 seconds.

Sound — a chime alongside the toast. Off leaves the notification silent. Hidden while Alerts is off, since it would control nothing.

Bar countdown — paints the next prayer beside the icon (Dhuhr in 1h 20m) instead of keeping it on hover. It turns the bar's urgent colour with ten minutes or less to go, and is left out on a vertical bar, where there is no room for it — the tooltip still has it there.

Hanafi Asr — starts Asr when an object's shadow is twice its length rather than once. The times come from the API rather than being shifted locally, so flipping this re-fetches, if that fetch fails the popup says so in red.

Calculation method

Calculation method defaults to Muslim World League (Aladhan method 3). Change it by editing METHOD in prayer-fetch.sh, or override per-run with PRAYER_METHOD=<id>. See the Aladhan docs for method IDs.

The chime is paplay on /usr/share/sounds/freedesktop/stereo/bell.oga. Point soundPath at any other file to change it — ls /usr/share/sounds/freedesktop/stereo/ for what ships with freedesktop's sound theme.

License

MIT