Gocaudices is a dwmblocks alternative written in GO using xgb.
I wrote this alternative to be simple, fast, and elegant. This project is never meant to exceed 100 SLOC in the base build.
First download gocaudices with: git clone https://github.com/lordrusk/gocaudices
. To make sure you have all dependencies installed you can run go mod tidy
. You can (re)compile with: go install
- Configure
Gocaudices can be configured through adding blocks
in the blocks.go
I've left an example of a normal blocks.go
config file that works with my dotfiles.
- Shell commands
To run shell commands, add inSh: true,
to the block in blocks.go
.
- Update a module
The block
definition of {cmd: "volume", upSig: 10},
would be updated like kill -44 $(pidof gocaudices)
. A dwm volume mute keybind might look like { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -44 $(pidof gocaudices)") },
.
Patches are hosted in this repo in patches/*patch*
. To apply patches: patch -p1 < path/to/patch.diff
. To create a proper patch, refer to hacking. If you would like to contribute a patch or feature, create a pull request.
- Multiple blocks can have the same update signal.
-
Does it have bar click-ability?
• Yes.
dwm bars that I think are awesome! check them out and give them a star!
• sysmon I would use this if I hadn't made zara
• spoon I don't know much C but this is great
• rsblocks I don't know much Rust, but featureful and well starred, makes me wanna get my status emoji game up to par
• mblocks another great rusty bar
• integrated-status-text the way god intended
• gods ICONIC
• dwmblocks-async Awesome! I wrote this project because dwmblocks wasn't async...and I've lived without bar clickability since...maybe should have gone with this and learned C!
•Luke Smith's Dwmblocks how could I forget where it all began?