Skip to content

Onizuka893/prayerbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prayerbar

a simple prayer time indicator for Waybar using aladhan.com.


Installation

Compile yourself using cargo build --release

Usage

  • --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

Waybar configuration

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;
}

About

waybar widget for prayer times

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages