Crates.io | salat_mv |
lib.rs | salat_mv |
version | 0.3.18 |
source | src |
created_at | 2023-01-22 00:50:07.656809 |
updated_at | 2023-03-20 18:08:12.225629 |
description | A tool to show prayer times in The Maldives |
homepage | https://github.com/Quicksilver151/SalatMV |
repository | https://github.com/Quicksilver151/SalatMV |
max_upload_size | |
id | 764676 |
size | 566,288 |
A cli version of the salat mv mobile app. Used to show prayer times in Maldives.
This program uses the db from the salatmv app
~> salat_mv -ct
Salat_MV-cli
---------------------
Time : 06:34:05 pm
---------------------
Fajr: 05:01 am
Sun: 06:15 am
Dhuhur: 12:24 pm
Asr: 03:44 pm
Magrib: 06:24 pm /------
Isha: 07:39 pm \-
Install Rust/Cargo on your system
Run cargo install salat_mv
git tag -l
to get a list of tagsgit checkout [version]
to checkout to the latest tag (regular commits are not stable)build_for_linux.sh
Install Git to on your system
Install Rust/Cargo on your system
Clone this repository with git clone https://github.com/Quicksilver151/SalatMV.git
Open the folder inside a terminal
Run git tag -l
to get a list of tags
Run git checkout [version name]
to checkout to the latest tag. eg git checkout v0.3.6
Run cargo build --release
The executable file will be inside /target/release/
Run salat_mv --help
to get the following list of commands:
SalatMV for cli
Usage: salat_mv [option]
Options:
-h, --help shows this help section
-a, --active keeps the program always running
-n, --notify enables notifications when using -a, edits notifications when not using -a (requires 'notify-send' command)
-e, --edit edit island index
-c, --current indicates the current time
-t, --title shows the title bar
-r, --raw-data outputs raw data in hours and minutes (incompatible with -A)
-A, --array outputs the data in an array (incompatible with -r, -c)
-m, --minutes outputs raw data in minutes
-H, --hour show time in 24 hour format
config contains island index
config is stored in ~/.config/salat_mv/
You can combine multiple flags like salat_mv -cantH
(this will run it in always active mode with 24 Hour display while indicating the current time and showing a title bar)
Notifications via notify-send
Add notification editing
Notification support for windows & mac
Add notification missed message
Change edit mode to be more usable
More visual feedback for --current flag
config storage