#status #monitor #window #x11 #wm

bin+lib rwmstatus

Library for status monitor displays

2 releases (1 stable)

Uses old Rust 2015

1.0.0 Jan 2, 2019
0.1.0 Dec 26, 2018

#15 in #wm

AGPL-3.0

17KB
216 lines

rwmstatus

Latest version Documentation License

Library for status monitor displays for window managers such as dwm/rwm. It is a direct port of dwmstatus to Rust.

This crate is intended to be used as either a library that provides various utility functions for obtaining system readouts or as a standalone binary together with a window manager like dwm, rwm, or any WM which uses WM_NAME of the X11 root window as its status bar.

The standalone binary's main.rs shows an example of how to use the library.


lib.rs:

rwmstatus

Library for status monitor displays. It provides functions to obtain readouts about system status such as battery status or temperature.

This is part of my Rust Sucks Less project to port some of the suckless.org programs and tools to Rust, a programming language that sucks less.

Dependencies

~2–2.7MB
~44K SLoC