You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David JULIEN b78f4dc620 feat: add torrent block 7 months ago
.gitignore added blocks.def.h to act as default blocks file so that changes made in 1 year ago
LICENSE Switched to ISC license 1 year ago
Makefile feat: modify clean directive 8 months ago Updated README with new patch 9 months ago
blocks.def.h feat: add torrent block 6 months ago
dwmblocks.c Added the call to pclose() when the output from the command is empty 10 months 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.