Raycast extension that shows the next prayer in the menu bar and root search, keeps timed prayer reminders in Apple Reminders, and tracks which prayers were prayed on time.

Asr -5 (until the
start or jamaat), Asr (-40) (until the preferred end or the end). The icon's color follows the live
windows of the phone app: light green around the start, brand green around jamaat, yellow before the
preferred time ends, red before the prayer time ends, plain in between. The dropdown lists every
prayer plus sunrise, midnight and tahajjud, color-coded as with jamaat, on time, late,
made up (qaza), current or missed, with each prayer's preferred time. Click a prayer to mark it; hold ⌥
to mark a late one (or one recorded late) as prayed on time.prayer-status: jamaat|ontime|late|missed|madeup line above the prayer-times:// key, so
other tools that sync these reminders can read and keep it.13:30, +10, floor5+15, ceil5+10, end-30, plus a Jumu'ah rule.
Asr can follow Dhuhr's jamaat (dhuhr+10) and Isha Maghrib's (maghrib+5), as most Shia mosques pray
them together; with the Ja'fari school that prayer's time then starts at its jamaat.macOS only asks for location on behalf of an app, so the first time you choose Use Current Location the extension builds a small helper app, Prayer Times Location, in its own support folder from the extension's Swift code and asks macOS for permission. Allow it when prompted; you can change this later in System Settings → Privacy & Security → Location Services.
It asks macOS for an approximate location only (a few kilometers, enough for prayer times, which move by seconds over that distance) and keeps coordinates rounded to about 1 km. Nothing is downloaded and no other app is needed.
Each prayer has a valid end (after it the prayer is late) and, depending on the school, an earlier preferred end (after it the prayer is less preferred, for some prayers disliked, makruh). A prayer with no earlier preferred end, like Fajr, is preferred until its end. The menu bar turns yellow before the preferred end. Counts as Late After picks which end the ending reminder, the red countdown and on-time history use.
| Hanafi | Shafi'i | Maliki | Hanbali | Ja'fari (Shia) | |
|---|---|---|---|---|---|
| Asr starts | 2 shadow lengths | 1 | 1 | 1 | 1 |
| Asr preferred until | sun turns yellow | 2 shadows | sun turns yellow | 2 shadows | – |
| Dhuhr preferred until | 1 shadow (Shafi'i Asr) | – | – | – | Asr |
| Dhuhr ends | Asr (2 shadows) | Asr | Asr | Asr | sunset |
| Maghrib starts | sunset | sunset | sunset | sunset | eastern redness gone |
| Maghrib preferred until | stars appear (~35 min) | – | short window (~25 min) | – | Isha |
| Maghrib ends | Isha | Isha | Isha | Isha | midnight |
| Isha preferred until | midnight | first third | first third | first third | first third |
| Isha ends | Fajr | Fajr | Fajr | Fajr | midnight |
Shadow lengths include the noon shadow. Midnight and the first third are measured from sunset to the next Fajr. The sun is taken to turn yellow 20 minutes before sunset. Every rule can be overridden in preferences, including Maghrib ending at the red twilight (15°, or 12° as a precaution). The Ja'fari (Leva Institute, Qom) method uses Fajr 16°, Maghrib 4° and Isha 14°.
Sources: Sahih Muslim 612 (Asr lasts until the sun turns pale); the hadith of Jibril (Abu Dawud 393, Tirmidhi 149) for one and two shadow lengths; Hanafi fatwas on the red and white twilight; Ja'fari rulings on the eastern redness and the shared times of Dhuhr and Asr, and of Maghrib and Isha.