Skip to content

nakal/sysinfobar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysinfobar

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.

Screenshots

FontAwesome support

Screenshot of sysinfobar using FontAwesome

See how to compile and configuration below.

Simple view

Screenshot of simple sysinfobar

Displayed information

  • 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.

How to build sysinfobar

With FontAwesome support

cargo build --features fontawesome

Simple build

cargo build

Example configuration for xmobar

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 ]
}

How to use with xmobar

sysinfobar | xmobar -d sysinfo_xmobar.rc

About

Pipe system info data to Xmobar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages