zman is a CLI year (time) progress that small, fast, and just one single binary.
bash
zman Show a year progress bar
zman month ... a month progress bar
zman week ... a week progress bar
zman year --json ... a year progress bar with JSON format
``` bash USAGE: zman [FLAGS] [OPTIONS] [time]
ARGS:
FLAGS: -h, --help Prints help information -J, --json Display progress in JSON formatted string -V, --version Prints version information
OPTIONS:
-f, --full-bar
You can use Zman with i3status-rs to show salah time in your status bar.
i3status-rs configuration Example:
bash
[[block]]
block = "custom"
cycle = ["zman year -J", "zman month -J"]
on_click = "<command>"
interval = 300
json = true
See more examples to learn other variations.
If you like zman
to support your favourite status-bar, please hit me in
the mailing-list with the valid input of your status-bar. In i3status.rs
the valid input it would be {"icon": "ICON", "state": "STATE", "text": "YOURTEXT"}
.
The release page includes pre-compiled binaries for GNU/Linux, macOS and Windows.
Using Rust's package manager cargo:
bash
cargo install zman
``` bash git clone https://git.sr.ht/~azzamsa/zman cd zman
cargo test
cargo install --path . ```
For reporting issues, visit the tracker here: https://todo.sr.ht/~azzamsa/Zman
Please send patches to ~azzamsa/public-inbox@lists.sr.ht
Zman is a 'time' in Arabic/Turksih.
Please check out this previous work that helped inspire the creation of zman.
Copyright (c) 2020 Azzamsa
Bilal is distributed under the terms of GPL V3 License.