Crates.io | zman |
lib.rs | zman |
version | 3.1.2 |
source | src |
created_at | 2021-04-19 23:47:48.318835 |
updated_at | 2024-08-07 00:51:20.846948 |
description | a CLI year progress |
homepage | |
repository | https://github.com/azzamsa/zman |
max_upload_size | |
id | 386862 |
size | 251,094 |
zman is a CLI year (time) progress that small, fast, and just one single binary.
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
i3status-rust
You can use Zman with i3status-rust to show time period in your status bar.
i3status-rust configuration Example:
[[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 favorite status-bar, please open the issue
with the valid input of your status-bar. In i3status-rust
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 cargo-binstall
cargo binstall bilal
With Rust's package manager cargo, you can install fd via:
cargo install zman
git clone https://github.com/azzamsa/zman
# Build
cd zman
cargo build
# Run unit tests and integration tests
cargo test
# Install
cargo install --path .
To learn more read contributing.md
Zman is a 'time' in Arabic/Turksih.
Please check out this previous work that helped inspire the creation of zman.
Copyright (c) 2020-2023 azzamsa
zman
is distributed under the terms of the GPL v3 License.
See the LICENSE for details.