a simple prayer time indicator for Waybar using aladhan.com.
Compile yourself using cargo build --release
--city STRING
- pass a specific city location to aladhan.com--country STRING
- pass a specific city location to aladhan.com--method STRING
- pass a calculation method number. see reference--ar
- display date in Arabic format.
--ampm
- display time in AM/PM format ! in development
e.g. prayerbar --city Brussels --country Belgium --method 15
Assuming prayerbar
is in your path, it can be used like:
config.jsonc
"custom/prayerbar": {
"format": "{}",
"tooltip": true,
"interval": 60,
"exec": "prayerbar",
"return-type": "json"
},
style.css :
#custom-prayerbar {
padding: 0 1.5em 0 0.3em;
border-radius: 0 10 10 0;
}