summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorroot <root@bengtsson.win>2021-12-27 08:54:58 +0000
committerroot <root@bengtsson.win>2021-12-27 08:54:58 +0000
commit2b7448b257b71d82da5e14c08577d694a84b6882 (patch)
tree36857402a69ea452772571cf53ef3f1c15efb6e3 /README.md
dwmblocks addedHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a57f95a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,18 @@
+# dwmblocks
+Modular status bar for dwm written in c.
+# modifying blocks
+The statusbar is made from text output from commandline programs.
+Blocks are added and removed by editing the blocks.h header file.
+# 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.
+# signalling changes
+For example, the audio module has the update signal 10 by default.
+Thus, running `pkill -RTMIN+10 dwmblocks` will update it.
+# 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.
+
+For this feature to work, you need the appropriate patch in dwm as well. See [here](https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea).
+Credit for those patches goes to Daniel Bylinka (daniel.bylinka@gmail.com).