/gostatus

An ergonomic status monitor alternative to slstatus

Primary LanguageGo

gostatus

gostatus is an ergonomic status monitor alternative to slstatus.

Features

  • Single configuration file (config.go)
  • Simple component-based organization
  • Core functionality in less than 80 lines of code
  • Extremely extensible
  • Native dwm extrabar support

Installation

go install

..or..

go build && sudo mv ./gostatus /usr/local/bin/

Usage

Simply run gostatus on startup, just like slstatus (for instance, in your .profile)

Configuration

All configuration is extracted to config.go. Change UPDATES_PER_SECOND to speed up or slow down the refresh rate and alter buildTopBar and buildBottomBar to customize layout and drawing.

Extension

model.Component is a single-method interface, allowing any object implementing Render() string to be included in a bar. If you write a new component or improve one of the few existing ones, be sure to submit a PR and help this project grow!

NOTE: model.Bar implements the Component interface, allowing nesting of bars for organization.

TODO

  • Support single-bar usage
  • Support other RSS readers (RSS Guard support is currently hard-coded)
  • Add multi-core support to CPU
  • Replace os/exec usage with direct library call
  • Port all applicable slstatus components

Support

Buy Me a Coffee at ko-fi.com