Skip to main content

Prayer times, part 7: the far north, the clock, and the whole program

· 47 min read
Rizki Rakasiwi
Muslimtify maintainer

Six parts in, the five prayer times are one formula asked five ways, and a table of what each country adds on top. This last part is about the cases where that is not enough.

Two of them are about the sky: places where the sun never gets 18° below the horizon, and places where it never sets at all. One is about the clock, which is a government decision and not an astronomical one, and gets more people's prayer times wrong than any angle ever did. Then the whole program, in one file, checked against the production library for every day of a year.

Prayer times, part 6: the national standards

· 36 min read
Rizki Rakasiwi
Muslimtify maintainer

Muslimtify ships 21 calculation methods. Part 4 looked at seven of them through their Fajr and Isha angles. This part goes through the whole table, region by region, and looks at the things a national standard adds on top of the angles: minutes added after sunset, Isha set by the clock instead of the sky, precaution margins, rounding rules, and the corrections Muslimtify deliberately does not copy.

By the end, the code can print the complete timetable for any of the 21 standards, and it matches the production library in every cell.

Prayer times, part 5: Asr and the shadow

· 21 min read
Rizki Rakasiwi
Muslimtify maintainer

Every prayer so far has been about the horizon: the sun crossing it, or sitting some number of degrees below it. Asr is different. Asr is about a shadow.

That makes it the one prayer time you can measure with no instrument but a stick, and it is also the one prayer whose time is set by your madhhab rather than by your country. Both of those facts come straight out of the texts in part 1, and both end up as a single line in the code.

Prayer times, part 4: Fajr, Isha and the twilight angles

· 31 min read
Rizki Rakasiwi
Muslimtify maintainer

Part 1 opened with two apps that disagreed about Fajr by six minutes. We now have everything needed to say exactly why, and to reproduce both numbers.

Fajr and Isha use the same formula as sunrise and sunset from part 3. The only thing that changes is the altitude we ask for. Instead of the sun's center sitting 0.833° below the horizon, we ask for 18°, or 20°, or 15°. The code is four lines. The number is the whole story.

Prayer times, part 3: sunrise, Dhuhr and Maghrib

· 34 min read
Rizki Rakasiwi
Muslimtify maintainer

Part 2 ended with the sun at its highest over Jakarta at 11:38. That is the first prayer time in the series, even if we did not call it one. This part adds the second ingredient, your latitude, and with it the moment the sun crosses the horizon. By the end you will have three times that you can check against the sky and against the Kemenag timetable: sunrise, Dhuhr and Maghrib.

Prayer times, part 2: where is the sun today?

· 38 min read
Rizki Rakasiwi
Muslimtify maintainer

In part 1 we saw that every prayer time is a sentence about the sun. The sun declines. A shadow reaches a length. The twilight fades. A white line spreads along the horizon.

To turn those sentences into a number, you need to know where the sun is. Not roughly, but exactly: on this date, in this city, at this minute. That is what this part is about. By the end you will have a small program that tells you two facts about the sun for any date, and you will use them to work out the moment the sun is highest over your head today, which you can check with a stick.

Prayer times, part 1: what the Quran and Sunnah actually say

· 19 min read
Rizki Rakasiwi
Muslimtify maintainer

Open two prayer apps on the same phone, in the same city, on the same day, and there is a fair chance they will not agree on Fajr. One says 04:21, the other 04:27. Both are made by Muslims who care about getting it right. So who is wrong?

Usually nobody. To see why, you have to go back to where prayer times come from. Not from an app, and not from an astronomer, but from the Quran, from the Prophet ﷺ, and from the generations who learned from him. That is what this first part is about. There is no code in it, and no math. Just the texts, and what they ask us to look at in the sky.

Muslimtify, a prayer reminder that lives on your computer

· 11 min read
Rizki Rakasiwi
Muslimtify maintainer
github-banner

You sit down at your computer after Dhuhr with a full list of things to do. The work pulls you in. Your phone is face down on silent because you wanted to focus. When you finally look up, the sky outside is already turning orange and Asr is almost gone.

Most of us who work or study in front of a screen know this moment. We did not decide to delay the prayer. We lost track of time.

Introducing Muslimtify. It is a small, free app for Linux and Windows that sits quietly in the background of your computer and tells you when the prayer is coming, and again when it is time to pray.

Integrate muslimtify with waybar

· 7 min read
Rizki Rakasiwi
Muslimtify maintainer
2026-07-13-135546_hyprshot

If you're a Muslim using a tiling window manager on Linux, you've probably wished for a subtle, always-visible prayer time indicator on your status bar. In this article, I'll walk you through how I integrated Muslimtify, a prayer time notification tool, with Waybar, the popular status bar for Wayland compositors like Hyprland and Sway.

The end result: a clean module in your Waybar that shows the next prayer name, time, and countdown, with a hover tooltip displaying the full prayer schedule.