_____ .__ _/ ____\ | |__ Frank Homburg \ __\ | | \ | | | Y \ https://hmbrg.xyz |__| |___| / https://git.sr.ht/~hmbrg \/ Script name: - Description: Modular statusbar for DWM Dependencies: - SourceHut: dwmblocks repo License: LICENSE Contributors: Luke Smith, Frank Homburg Comments: This is of fork of Luke Smith's dwmblocks repo.
Modular status bar for dwm.
The statusbar is made from text output from commandline programs. Blocks are added and removed by editing the config.h file.
Most statusbars constantly rerun every script every n seconds to update. This is an option, but a superior choice is giving your module a signal that you can signal to it to update on a relevant event, rather than having it rerun idly.
For example, the audio module has the update signal 10 by default. Thus,
pkill -RTMIN+10 dwmblocks will update it.
You can also run
kill -44 $(pidof dwmblocks) which will have the same effect,
but is faster. Just add 34 to your typical signal number.
Note that all modules must have different signal numbers.
This build allows you to build in additional actions into your
scripts in response to click events. Simply use the