You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IGeraGera 5583a44cd3
Updated README with new patch
2 years ago
.gitignore added blocks.def.h to act as default blocks file so that changes made in 3 years ago
LICENSE Switched to ISC license 3 years ago
Makefile Added back the ability to change compiler with CC environment variable. 3 years ago Updated README with new patch 2 years ago
blocks.def.h Manual merge of pull request #19. This adds multi-character delimiter. 3 years ago
dwmblocks.c Only open X server once rather than open and close after every writeout. 3 years ago


Modular status bar for dwm written in c.


To use dwmblocks first run 'make' and then install it with 'sudo make install'. After that you can put dwmblocks in your xinitrc or other startup script to have it start with dwm.

modifying blocks

The statusbar is made from text output from commandline programs. Blocks are added and removed by editing the blocks.h header file. By default the blocks.h header file is created the first time you run make which copies the default config from blocks.def.h. This is so you can edit your status bar commands and they will not get overwritten in a future update.


Here are some patches to dwmblocks that add features that I either don't want to merge in, or that require a dwm patch to work. I do not maintain these but I will take pull requests to update them.