A python script for Linux which does only one thing; sends a notification at the adhān and iqāma of each prayer.
| icon.png | ||
| LICENSE | ||
| main.py | ||
| README.md | ||
pyminaret 0.1.0
Bismillah. pyminaret is an 80 line Python CLI program for Linux which does only one thing; sends a notification at the adhān and iqāma of each prayer. This project utilizes the aladhan API. It uses ~25MiB of memory.
Dependancies
- python
- notify-send
That's it. I tried to ensure it had as little dependencies as possible.
Installation
Clone this repository. Assuming you placed the repository in ~/code (place it anywhere you want, this is just an example), set this command to auto-start when you launch your computer: python3 ~/code/notify-salawat/main.py --city "your city" --country "your country".
A Nix flake for NixOS and home-manager is coming soon.
Configuration
--country "your country": Required so that the prayer times can be fetched.--city "your city": Required so that the prayer times can be fetched.-i,--iqama: Toggle iqāma notifications. Enabled by default.-g,--gap: Gap in minutes between the adhān and iqāma notifications. Default is 15.
License
Specifications
- This project follows the Semantic Versioning 2.0.0 specification.
- This project follows the Conventional Commits specification.