All Projects → AbdeltwabMF → next-prayer

AbdeltwabMF / next-prayer

Licence: GPL-3.0 License
Islamic prayers reminder for your status bar.

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Roff
2310 projects
Makefile
30231 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to next-prayer

Mosque-Screen
Chat: https://discord.gg/CG7frj2 - Email: [email protected]. We do not provide any support, this is a volunteer-based project therefore we cannot commit to any time to resolve local issues.
Stars: ✭ 54 (+38.46%)
Mutual labels:  prayer-times, muslim-prayer-times, prayertimes
Awesome-Muslims
A currated list of Awesome Muslim Resources to encourage and help developers produce more islamic apps.
Stars: ✭ 122 (+212.82%)
Mutual labels:  prayer-times, muslim-prayer-times
Waktu-Solat-API
PHP API for fetching prayer time from JAKIM e-Solat website
Stars: ✭ 27 (-30.77%)
Mutual labels:  prayer-times
adhan-dart
Adhan for Dart / Muslim Prayer Times Library. Now retrieving Prayer time in Dart easier than ever.
Stars: ✭ 51 (+30.77%)
Mutual labels:  prayer-times
Sirat-E-Mustaqeem
Islamic App with Complete Quran, Prayer time Api, Hadith, & Qibla Direction.
Stars: ✭ 119 (+205.13%)
Mutual labels:  prayer-times
MuezzinAPI
A web server application for Islamic prayer times
Stars: ✭ 33 (-15.38%)
Mutual labels:  prayer-times
IslamBot
A Discord bot that supports Qur'an, hadith, prayer times, tafsir and more.
Stars: ✭ 59 (+51.28%)
Mutual labels:  prayer-times
prayer-times-extension
Under Development: Prayer Time Calculation based on Geolocation for Chromium and Firefox
Stars: ✭ 61 (+56.41%)
Mutual labels:  prayer-times
waqt
Electron-based app to display today's Islamic prayer times.
Stars: ✭ 26 (-33.33%)
Mutual labels:  prayer-times
PrayerTimes-Swift
Islamic Prayer (salah) Time calculation written in swift.
Stars: ✭ 47 (+20.51%)
Mutual labels:  prayer-times
PrayerTimes
Desktop application 💻 for calculating Muslim prayer times 🕌 and setting an alarm (Adhan) ⏰ for the prayer times.
Stars: ✭ 151 (+287.18%)
Mutual labels:  prayer-times
pyIslam
pyIslam, a Python library to calculate prayer times, hijri date, qiblah direction and more
Stars: ✭ 68 (+74.36%)
Mutual labels:  prayer-times
Azkar-App
Desktop Application 💻 for Calculating Muslim prayer times 🕌 , Morning and Nights Azkar 🤲 with notification for random Azkar that pops-up in specific time.
Stars: ✭ 64 (+64.1%)
Mutual labels:  prayer-times
vaktisalah
a Qt-Based Prayer Times application for Win/Linux/Mac
Stars: ✭ 26 (-33.33%)
Mutual labels:  prayer-times

Next Prayer

Islamic prayers reminder for your status bar.

Linux Docker COPYING contributors PRs Welcome GitHub release GitHub Super-Linter

Usage

Usage: next-prayer [options...]

Options:
  --help       Show this help message and exit.
  --version    Show version information and exit.
  --next       Show next prayer time.
  --all        Show all timings.
  --prev       Show previous prayer time.
  --left       Show time left to next prayer.
  --elapsed    Show elapsed time since last prayer.
  --adhan      Show if adhan is now playing.
  --hijri      Show hijri date.
  --hybrid     The elapsed time since the previous prayer as far as the elapsed time <= THRESHOLD.

Installation

  • For Arch based distros (e.g. Manjaro) install it using any AUR helper.
yay -S next-prayer
  • For Other distros (e.g Ubuntu, ...) run the following commands:
git clone https://github.com/abdeltwabmf/next-prayer.git
cd next-prayer
make all clean install
  • For Windows or Mac you probably end up with Docker version:

    You have two choices:

  1. Use Docker Hub image by running the following command:
docker pull abdeltwabmf/next-prayer
docker tag abdeltwabmf/next-prayer next-prayer

docker run --rm next-prayer next-prayer --version
  1. Build it yourself by running the following commands:
git clone https://github.com/abdeltwabmf/next-prayer.git
cd next-prayer

docker build -t next-prayer .
docker run --rm next-prayer next-prayer --version

✔️ You shall see Version: v2.0.0 indicating that you run the container successfully.

Using next-prayer options with docker

docker run --rm next-prayer next-prayer [options...]

Configuration

⚠️ Only if you're using DockerHub image

  1. After Editing your config file save it locally and run the following command to fetch API data:
docker run --rm -v /path/to/your/config:/root/.config/next-prayer/np_config.py -v /path/to/your/data:/root/.local/share/next-prayer next-prayer np_fetch.py
  1. After that you can run:
docker run --rm -v /path/to/your/data:/root/.local/share/next-prayer next-prayer next-prayer [options...]

Setup for status bars

🌟 Add this 4-element Block to the blocks[] array in your config.h.

static const Block blocks[] = {
  /*Icon*/  /*Command*/              /*Update Interval*/  /*Update Signal*/
  {"🕌 ",    "next-prayer --hybrid",  29,                  0}
}

🌟 Add this section to your i3blocks config file.

[next-prayer]
command=next-prayer --hybrid
interval=29
label=<span>🕌 </span>
color=#FF8105
border=#FF8105
border_top=1
border_right=0
border_bottom=0
border_left=0

👀 If you're using the docker version Add docker run --rm next-prayer at the very beginning of the command.


License

Licensed under the GPL-v3 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].