sysinfobar
is a simple program that outputs Linux or OpenBSD system
information to stdout in a format that is expected to be piped to
Xmobar.
See how to compile and configuration below.
- CPU usage in percent
- RAM usage in percent
- swap usage in percent
- network usage down/up in percent
- battery capacity as symbol and in minutes left (if available)
- date and time (currently only in German)
The information is also highlighted according to the impact on the system.
cargo build --features fontawesome
cargo build
Config {
font = "xft:Fantasque Sans Mono:size=13:bold:antialias=true"
, additionalFonts = [ "xft:FontAwesome" ]
, bgColor = "#202020"
, fgColor = "orange"
, alpha = 255
, position = TopW R 40
, border = NoBorder
, borderColor = "black"
, sepChar = "%"
, alignSep = "}{"
, iconRoot = ""
, template = "}{ %UnsafeStdinReader%"
, textOffset = -1
, iconOffset = -1
, lowerOnStart = True
, hideOnStart = False
, allDesktops = True
, overrideRedirect = True
, pickBroadest = False
, persistent = True
, commands = [ Run UnsafeStdinReader ]
}
sysinfobar | xmobar -d sysinfo_xmobar.rc