[][src]Crate rwmstatus

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.

Structs

RwmStatus

RwmStatus

Enums

StatusError

Error type for rwmstatus functions.

Functions

get_batt

Return battery status for the battery at the provided path.

get_load_avgs

Return the three load average values.

get_local_time

Get the local time.

get_temp

Return temperature read from the provided monitor.

get_tz_time

Get the time for the provided timezone in the provided format.