onpar

command module
v0.0.0-...-6df28eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2020 License: MIT Imports: 9 Imported by: 0

README

onpar

A dwm bar that is on par with other advanced bars such as i3blocks and polybar

Features

  • The ability to schedule running each function independently
  • The extensibility to write any script and use its STDOUT and show it on the bar
  • Currently shows date and time, battery level, volume level, DarkSky weather forecast, and keyboard layout

onpar screenshot

Installation

  • You need a working Go environment and FontAwesome & icons-in-terminal to show the icons
  • Build the Go components in components/ using go build component_name.go
  • Add your own components
  • You need to use the full path to the components folder or add the components folder to your $PATH
  • go build onpar.go to build the main binary
  • Add the binary to your $PATH
  • Add the path to the binary in your .xinitrc

TODOs

  • Make it configurable
  • [] Add support for colors
  • Add icons
  • [] Revisit the use of goroutines and the possibility to use alarm signals instead
  • Refactor the code
  • [] Add a way to log runtime errors
  • [] Add a config file

License

See LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
components
component Module
datetime Module
datetimeUtc Module
sys Module
vol Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL