Skip to content

logs

The patches I applied were:

  1. bar-0.7.patch
  2. barcolors.patch
  3. moveresizekb.patch
  4. simple_scratchpad-v0.7.patch
  5. ipc.patch

All of the patches were very straightforward. However I had issues with barcolors patch. Look into drawstatus function to see the mods I've made (with Claude AI) to get it to work. However even with those mods I wasn't able to display nested fg-bg color formatting like: ^bg(FFFF00)^fg(000000)%s: %d%%^fg()^bg().

someblocks without somebar

source: https://sr.ht/~raphi/someblocks/

1747318915.png

Yeah so don't bother installing somebar.

cd ~/admin
git clone 'https://git.sr.ht/~raphi/someblocks/'
cd someblocks

You need to apply this patch: https://lists.sr.ht/~raphi/public-inbox/patches/56817

I copied it over to some.patch

patch -p1 <some.patch
make
sudo make install

getting good glyphs for somebar

https://github.com/Templarian/MaterialDesign-Font

source: https://www.reddit.com/r/archlinux/comments/q03x8j/comment/hf5sdqq

Getting app id

dwlmsg git: https://codeberg.org/notchoc/dwlmsg.git

./dwlmsg -w -c

DWL IPC Patch

date: May 24 2025

In order to get the ipc patch working I had to make significant mods. config.def.h had the least mods since alt-b was already set to toggle bar. Makefile and dwl.c required more for careful mods.

The bar-0.7.patch tookaway the printstatus() function but the ipc.patch needed it.

1748098450.png

So In addition to other mods, I had to restore the printstatus() method and invoke at every place where drawbars() gets invoked.

Something Claude said:

1748099602.png

Battery info

You can get live battery info with:

acpi -i

Comments