2019-03-24 22:19:32 +00:00
|
|
|
# dwmblocks
|
|
|
|
Modular status bar for dwm written in c.
|
2019-03-25 03:54:43 +00:00
|
|
|
# modifying blocks
|
|
|
|
The statusbar is made from text output from commandline programs.
|
|
|
|
Blocks are added and removed by editing the blocks.h header file.
|
2020-02-08 14:43:28 +00:00
|
|
|
# Luke's bulid
|
|
|
|
I have dwmblocks read my preexisting scripts [here in my dotfiles repo](https://github.com/LukeSmithxyz/voidrice/tree/master/.local/bin/statusbar).
|
|
|
|
So if you want my build out of the box, download those and put them in your `$PATH`.
|
|
|
|
I do this to avoid redundancy in LARBS, both i3 and dwm use the same statusbar scripts.
|
2019-09-21 19:37:13 +00:00
|
|
|
# signalling changes
|
|
|
|
For example, the audio module has the update signal 10 by default.
|
|
|
|
Thus, running `pkill -RTMIN+10 dwmblocks` will update it.
|
2020-04-13 04:14:56 +00:00
|
|
|
# clickable modules
|
|
|
|
Like i3blocks, this build allows you to build in additional actions into your scripts in response to click events.
|
|
|
|
See the above linked scripts for examples of this using the `$BLOCK_BUTTON` variable.
|
|
|
|
|
2020-05-17 22:52:18 +00:00
|
|
|
For this feature to work, you need the appropriate patch in dwm as well. See [here](https://dwm.suckless.org/patches/statuscmd/).
|
2020-04-13 04:14:56 +00:00
|
|
|
Credit for those patches goes to Daniel Bylinka (daniel.bylinka@gmail.com).
|