Khiro95 / Awqat-Salaat

A simple Windows widget to show the time of the next prayer alongside a countdown on the taskbar.
MIT License
47 stars 2 forks source link
aladhan-api aladhan-prayer-times-api desk-band deskband islam islamicfinder prayer-times prayers widget windows-11 winui3 wix wpf

النسخة العربية متوفرة هنا

Awqat Salaat Widget GitHub Release

This is a simple Islamic Windows widget that shows the time of the next prayer, alongside a countdown, on the taskbar in order to help the user keep tracking of prayers times.

The widget can show the prayers times of the whole day and update automatically, to show times of the next day, when the time of last prayer (Isha) has entered.

This widget support visual notification when the time of the next prayer becomes close to a certain configurable limit.

Actually, the widget uses two services to get the prayers times based on user settings:

[!caution] The only purpose of this widget is to have an idea whether the next prayer is close or not in a simple way without having to click/open anything. Although most prayers times provided by the APIs are almost precise, there is no guarantee that this will be always the case, especially for Maghrib prayer. So DON'T rely on the widget to get the exact time, especially for performing rituals such as fasting or establishing prayers right after entering their times.

Supported Platforms

Awqat Salaat is a Windows widget that is available in two forms:

Awqat Salaat (Deskband)

This widget takes advantage of a feature called Desk Band which is an old feature and has been deprecated and removed completely from Windows 11. However, the older vesions (Windows 7, 8, 8.1 and 10) still support this feature.

Although the widget was designed specifically for Windows 10, starting from version 1.1 the widget is compatible with Windows 7/8/8.1 and all versions of Windows 10 with some subtle visual differences on Windows 7/8/8.1.

Also note that if you choose to use the widget on Windows 7/8/8.1 then make sure to install .NET Framework 4.7.2 Runtime and the font Segoe MDL2 Assets.

Awqat Salaat WinUI Awqat Salaat WinUI Icon

This widget is a regular app that can run on Windows 11 and on Windows 10 1809 or later. This app bring Awqat Salaat to Windows 11 which wasn't supported in earlier versions of the widget.

[!note] Although this app can run on Windows 10, it's not recommended due to the limitiations listed below, use deskband widget instead.

Requirements:

Limitations & known issues

Installation

Go to Releases page and download the installer that matches your OS architecture.

[!warning] If you choose the x86 version of the installer while your OS is x64, then the widget won't install correctly.

After downloading the installer, double-click on it to install the widget.

If you choose Awqat Salaat WinUI, launch the app and jump directly to step 3.

It's expected that the widget will not appear after the installation finish, so you need to activate it manually. Here are the steps:

  1. Right-click on the taskbar then move the mouse over Toolbars. For unknown reasons, the widget name will be absent in the list of toolbars so you have to repeat this step again.

    Right-click on taskbar and hover over Toolbars item

  2. In the second time, the widget name Awqat Salaat will appear so click on it to activate the widget.

    Right-click on taskbar again and this time Awqat Salaat name will appear under Toolbars

  3. Now the widget should appear on the taskbar. Click on it to show settings panel then enter the necessary inputs and click on ✔️ to save changes.

    The widget appear on the taskbar and settings panel open

    [!tip] Make sure to check available options for Calculation Method since there can be one for your country; otherwise just leave the default one. Custom method might be supported in future versions of the widget as well.

Showcase

Windows 10 (Deskband)

[!note] The theme always match system theme on Windows 10.

Regular

Awqat Salaat widget showing next prayer time Awqat Salaat widget showing prayers times for the whole day

Compact

Awqat Salaat compact widget showing next prayer time Awqat Salaat compact widget showing countdown

Reminder notification

Awqat Salaat widget notification for near prayer time

Elapsed time notification

Awqat Salaat widget notification for entered prayer time

Windows 11 (WinUI)

[!note] The theme always match system theme.

Regular

Awqat Salaat WinUI widget showing next prayer time on center-aligned taskbar Awqat Salaat WinUI widget showing next prayer time on left-aligned taskbar Awqat Salaat WinUI widget showing prayers times for the whole day

Compact

Awqat Salaat WinUI compact widget showing next prayer time Awqat Salaat WinUI compact widget showing countdown

Reminder notification

Awqat Salaat WinUI widget notification for near prayer time

Elapsed time notification

Awqat Salaat WinUI widget notification for entered prayer time

Build

To build Awqat Salaat (Deskband) widget and the preview app, the following is needed:

To Build Awqat Salaat WinUI widget, the following is needed:

In addition, to build the installers the following SDK is needed:

Changelog

For a list of changes, check the changelog here.

Notes

Acknowledgement

Contact

For any question or problem reporting, please consider opening a new issue or send an email to khiro95.gh@gmail.com.

License

This project is licensed under the terms of MIT License.