Features
- Everything works completely offline.
- Display all salah times for the current day.
- Show the current salah time and its remaining time.
- Display the next salah time.
- Use both 12-hour and 24-hour formats.
- Available in multiple languages.
- Fancy error message.
Usage
To configure Bilal, first create a file named config.toml in ~/.config/bilal/ on Unix-like systems. On Windows, place it under \AppData\Bilal\. If you prefer a custom location, simply set the BILAL_CONFIG environment variable.
Next, add your configuration details to the config.toml file:
= -6.18233995
= 106.84287154
= "Shafi"
= "Egyptian"
To see more options, please read the wiki or examples/config.toml.
Integration with other programs
You can use Bilal with i3status-rust to show salah time in your status.


i3status-rust configuration Example:
See more examples to learn other variations.
If you like bilal to support your favourite status-bar, please open new issue
with the valid input of your status-bar. In i3status-rust
the valid input it would be {"icon": "ICON", "state": "STATE", "text": "YOURTEXT"}.
Installation
From binaries
The release page includes pre-compiled binaries for GNU/Linux, macOS and Windows.
macOS Security Notice
If you encounter a security warning on macOS stating "Apple could not verify 'bilal' is free of malware...", you can resolve this by:
From source
Using cargo-binstall
Using Rust's package manager cargo:
Development
# Build
# Run unit tests and integration tests
# Install
Contributing
To learn more read contributing.md
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-2024 azzamsa
Bilal is distributed under the terms of GPL V3 License.