#linux #dwm #statusbar

app rsblocks

a multi threaded status bar for dwm window manager for linux

16 releases

0.1.18 Jun 4, 2021
0.1.17 May 12, 2021
0.1.15 Apr 29, 2021
0.1.13 Feb 15, 2021
0.1.0 Dec 30, 2020

#44 in GUI

Download history 2/week @ 2021-02-23 5/week @ 2021-03-02 4/week @ 2021-03-09 3/week @ 2021-03-16 32/week @ 2021-03-23 45/week @ 2021-03-30 15/week @ 2021-04-06 60/week @ 2021-04-13 14/week @ 2021-04-20 30/week @ 2021-04-27 37/week @ 2021-05-04 21/week @ 2021-05-11 23/week @ 2021-05-18 3/week @ 2021-05-25 18/week @ 2021-06-01 25/week @ 2021-06-08

96 downloads per month

MIT license

36KB
1K SLoC

rsblocks

github crates

A multi threaded fast status bar for dwm window manager written in Rust 🦀


Features

  • Multi Threads
  • Time/Date
  • Net Usage
  • Memory Usage
  • Disk Usage
  • Weather Temperature
  • Sound Volume
  • Battery Percentage
  • Cpu Temperature
  • Load Average
  • Public Ip Address
  • Bitcoin Price
  • Uptime
  • Mpd Current Song
  • Spotify Current Song
  • Easy to configure with rsblocks.yml file

Notes

  • This tool is still in development stage.
  • currently supports only linux.

Build Requirements

  • Libdbus 1.6 or higher as a requirement to spotify.

On ubuntu you can do:

sudo apt install libdbus-1-dev pkg-config

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

License

MIT

Dependencies

~18MB
~400K SLoC