Merge 744d5eec1e048026e9a8710abe338748fe162477 into 48dbe00bdb98a1ae6a0e60558ce14503616aa759

This commit is contained in:
Kana 2025-10-23 17:03:35 +00:00 committed by GitHub
commit 4c22b681a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,17 @@ Pass `dwlb` as an argument to dwl's `-s` flag. This will populate each connected
dwl -s 'dwlb -font "monospace:size=16"'
```
Or create a wrapper script, which allows to restart dwlb `kill -15 "$(pidof dwlb)"` without having to restart dwl:
```
#!/bin/sh
while :; do
dwlb
sleep 1
done
```
don't forget to make it executable `chmod +x /path/to/dwlb_wrapper.sh` and launch dwl with:
`dwl -s '/path/to/dwlb_wrapper.sh'`
## Ipc
If dwl is [patched](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/ipc) appropriately, dwlb is capable of communicating directly with dwl. When ipc is enabled with `-ipc`, dwlb does not read from stdin, and clicking tags functions as you would expect. Ipc can be disabled with `-no-ipc`.