onpar
onpar copied to clipboard
A dwm bar that is on par with other advanced bars such as i3blocks and polybar
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, keyboard layout, current music track

Requirements
Installation
- Run
sudo make installto build the components into abin/directory and to copy the executableonparinto/usr/local/bin - Add the
bin/directory to your $PATH - Run
make runto run the executable
Customization
- To start
onparwith system startup, Addonpar&to your.xinitrcor to your system's startup config file - To add more components, add them to
componentsdirectory, and call them in the code ofonpar, then redo the installation steps
TODOs
- [X] Make it configurable
- [] Add support for colors
- [X] Add icons
- [] Revisit the use of goroutines and the possibility to use alarm signals instead
- [X] Refactor the code
- [] Add a way to log runtime errors
- [] Add a config file
License
See LICENSE.