Bilal

Sponsor me

![demo](docs/demo.gif)

bilal is a CLI salah time.

Features

Usage

Create a file named bilal.toml in ~/.config/bilal/. If you are on Windows, put it under \AppData\Bilal\. Then add your configuration:

toml timezone = 7 latitude = -6.18233995 longitude = 106.84287154 madhab = "Shafi" method = "Egyptian"

You can get latitude and longitude value from mapcoordinates. Other madhab and method options are available.

Installation

From binaries

The release page includes pre-compiled binaries for GNU/Linux, macOS and Windows.

From source

Using Rust's package manager cargo:

bash cargo install bilal

Usage with other tools

You can use Bilal with i3status-rs to show salah time in your status bar.

i3status-rs configuration Example:

bash [[block]] block = "custom" cycle = ["bilal -c -J", "bilal -n -J"] on_click = "<command>" interval = 300 json = true

Contributing

For reporting issues, visit the tracker here: https://todo.sr.ht/~azzamsa/Bilal

Please send patches to ~azzamsa/public-inbox@lists.sr.ht

Origin of the name

The name Bilal was chosen in reference to the Bilal bin Rabah. The first mu'azzin, chosen by Muhammad PBUH himself.

License

Copyright (c) 2020 Azzamsa

Bilal is distributed under the terms of GPL V3 License.