my version of rsblocks
adb507b0ef
commit 89ec61f2cc24238dbccf2890235fab7a66efdc5b Author: AdaShoelace <adashoelace@gmail.com> Date: Fri Jan 8 01:49:19 2021 +0100 Support pulseaudio commit b4bc05538b22d86a53e4461bbee2c8c4d33b0f80 Author: AdaShoelace <adashoelace@gmail.com> Date: Fri Jan 8 01:06:32 2021 +0100 Display volume in percent commit 14570efeebeb127494509534886dd521a23f24f0 Author: AdaShoelace <adashoelace@gmail.com> Date: Thu Jan 7 14:22:34 2021 +0100 Programmatically rename root and get alsa volume commit 391b2ec7360fd9ae462a87c0a3ae86d39f695c3f Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 22:26:57 2021 +0100 Remove usage of 'Command' from get_disk commit 0625be6e822e18cf4e2fd212695ddd1592161a97 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 22:25:01 2021 +0100 Add nix dependency commit c66e1cc09031f0a7ddf40016855a6d7457d9d65f Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 16:14:55 2021 +0100 ignore commit 32dbdc5f3d636551c64e2f303365a5a5e3d94994 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 02:21:51 2021 +0100 Add breadx to dependencies commit 4d23c36552b461b06127705964e1a16dd395e658 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 01:13:55 2021 +0100 Add exclusion to gitignore |
||
---|---|---|
.github/workflows | ||
screenshots | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
rsblocks.yml |
rsblocks
A multi threaded fast status bar for dwm window manager written in Rust 🦀
Features
- Multi Threads
- Time/Date
- Memory Usage
- Disk Usage
- Weather Temperature
- Sound volume reads from
alsa-utils
- Easy to configure with
rsblocks.yml
file
Notes
- This tool is still in development stage.
- currently supports only linux.
Cargo Installation
You can install the binary crate directly
cargo install rsblocks
Manual Installation
You can clone the repo and build from the source code
git clone https://github.com/mustafasalih1993/rsblocks
build with cargo
cargo build --release
move the executable somewhere in your PATH (assuming you are in the root dir of the project)
mv ./target/release/rsblocks /usr/local/bin
you good to go now and can run rsblocks
from your terminal or put that in your .xinitrc
Configuration
Notes:
- rsblocks will try to read the file
$HOME/.config/rsblocks/rsblocks.yml
, if it does not exist, it will load the defaults. - rsblocks will read the configuration file only on startup, which means you have to kill it and start it again if you updated your
rsblocks.yml
file.
create the directory
mkdir ~/.config/rsblocks
copy the template to the new config directory (assuming you are in the root dir of the repo)
cp ./rsblocks.yml ~/.config/rsblocks/rsblocks.yml
Contributions
All Contributions are welcome.
Credits
- wttr.in for using their weather API