ptui is a simple TUI that shows the remaiming time for the next prayer.
cargo build --release
Data is fed to the executable through a data file containing line separated pairs of timestamps and labels.
./data/prayer_times.txt
contains prayer time for casablanca morocco
DATA_FILE="/path/to/data/file" ./target/release/ptui
The default value of data file is ./data/prayer_times.txt
t
: switch between time and remaining time for prayerf
: switch between next prayer time and fasting end time (Maghrib)q
: quit
You can use generate-prayer-time to generate data according to your location.
Screenshots taken in small and large tmux panes