Alexander Rosenberg ee01830c33 Add fcitx5 module | 1 jaar geleden | |
---|---|---|
scripts | 1 jaar geleden | |
.gitignore | 1 jaar geleden | |
LICENSE | 1 jaar geleden | |
Makefile | 1 jaar geleden | |
README.md | 1 jaar geleden | |
blocks.def.h | 1 jaar geleden | |
config.def.mk | 1 jaar geleden | |
dwmblocks.c | 1 jaar geleden | |
pulse-listener.c | 1 jaar geleden | |
pulse-listener.h | 1 jaar geleden |
My personal fork of dwmblocks. Original found here.
Dwmblocks is a 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.
The dwmblocks-pulse-listener program is a small daemon that takes the pid of a dwmblocks instance and notifies it of pulse audio volume changes.
The status bar is made from text output from command-line 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.
Note that the intervals listed in blocks.h are in milliseconds (1/1000 second). Because of this, the SECONDS() macro is provided for readability. I also implemented some changes from Luke Smith's fork found here.