ipc: update patch

- Revived ipc patch from stale-patches
 - Update to match the current dwl main branch
 - Protocol feature addition: extended dwl-ipc protocol with
   focused_geometry which allows passing the client geometry details
   trough the ipc
 - Cleaned the README.md
 - Pointed dwlmsg to updated fork
This commit is contained in:
julmajustus
2026-09-20 02:50:18 +03:00
parent f93e314dc5
commit 161586e355
5 changed files with 116 additions and 109 deletions
+17
View File
@@ -0,0 +1,17 @@
### Description
Largely based on [raphi](https://sr.ht/~raphi/)'s [somebar](https://sr.ht/~raphi/somebar/), this patch provides an ipc for wayland clients to get and set dwl state. The ipc is intended for status bars, but can also be scripted with tools like [dwlmsg](https://codeberg.org/julmajustus/dwlmsg).
Status information to stdout is currently disabled as dwl tends to freeze. For now, `dwlmsg -w` should act as a drop-in replacement.
Note to [pertag](../pertag/) users: apply [this](./ipcpertag.patch) for ipc tagsetting to work as expected
### Download
- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/ipc-0.9)
- [main-d16036e](./ipc.patch)
### Authors
- [MadcowOG](https://github.com/MadcowOG)
- [fbushstone](https://github.com/fbushstone)
- [notchoc](https://codeberg.org/notchoc)
- [snuk](https://codeberg.org/snuk)
- [julmajustus](https://codeberg.org/julmajustus)