„gods“ stands for „Go dwm status“. It displays time, sysload, memory consumption, battery level and network transfer speeds.
Only a working Go environment and the xsetroot binary is needed. Per default you
should use the Material Design
Webfont (I'm using the
version from Debian testing
) within dwm, so you have the nice little icons.
Otherwise you need to exchange some characters in the source (see gods.go
header). For dwm the statuscolor
patch is recommended.
To install, run
go get github.com/schachmat/gods
Then add the following line to your .xinitrc
or whereever you start dwm, but
before actually starting dwm:
$GOPATH/bin/gods &
The Gods status bar can be easily modified, just by patching the source. You can add new informational panels, remove others, change the ordering or formating. With a custom font you can use own icons and separators and through the statuscolors patch config in dwm you can change the colors.
This repository is meant as an example of how to draw your dwm status bar with go, as I use it. No additional features will be merged from pull-requests, but you can tell me about your fork and changes and then I can link them here as further examples for other people to look at.
- phacops forked gods to not use a custom font, but rather replace the icons with plain text.
"THE BEER-WARE LICENSE" (Revision 42): teichm@in.tum.de wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Markus Teich