Skip to content
Salaah Time for Py3status
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
salaah_time.py

README.md

Salaah Time for Py3status

Shows next salaah time in py3status

Feature

  • Not relying on internet connection
  • Show next salaah time
  • Show remaining salaah time (toggled with mouse click)
  • Change module color when reached thresholds of remaining time

Installation

Put this file in one of [py3status custom module location][1] such as ~/.config/i3status/py3status, then add proper configuration in your i3status config.

Docs

See the docs string

Examples configuration

Basic:

salaah_time {
   longitude = 32.859741
   latitude = 39.933365
   timezone = 3
   fajr_isha_method = 3
   asr_fiqh = 1
}

Advanced:

salaah_time {
   format = "{salaah_name} {salaah_time}"
   format_time = "%I:%M %p"
   longitude = 32.859741
   latitude = 39.933365
   timezone = 3
   fajr_isha_method = 3
   asr_fiqh = 1
}

Sample Output

{'full_text': 'fajr 04:05 AM'}

image

image

Credit:

This module depends on pyIslam library, make sure it's installed.

You can’t perform that action at this time.