go-pray

command module
v0.0.0-...-ebf09f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

README

* go-pray
** Installation
#+begin_src sh
go install git.sr.ht/~thecashewtrader/go-pray@latest
#+end_src
** Configuration
edit ~$XDG_CONFIG_DIR/go-pray/config.yaml~
*** City
Replace ~New York~ with your city's name
#+begin_src yaml
city: New York
#+end_src
*** Country
Replace ~USA~ with your country code
#+begin_src yaml
country: USA
#+end_src
*** Method
Replace ~1~ with your preferred method
#+begin_src yaml
method: "1"
#+end_src

Possible methods
#+begin_src json
{
    "0": "Shia Ithna-Ansari",
    "1": "University of Islamic Sciences, Karachi",
    "2": "Islamic Society of North America",
    "3": "Muslim World League",
    "4": "Umm Al-Qura University, Makkah",
    "5": "Egyptian General Authority of Survey",
    "7": "Institute of Geophysics, University of Tehran",
    "8": "Gulf Region",
    "9": "Kuwait",
    "10": "Qatar",
    "11": "Majlis Ugama Islam Singapura, Singapore",
    "12": "Union Organization islamic de France",
    "13": "Diyanet İşleri Başkanlığı, Turkey",
    "14": "Spiritual Administration of Muslims of Russia"
}
#+end_src
** Usage
#+begin_src sh
go-pray
#+end_src
** Example Output
~Asr in 01:20:25~

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL