add ipc.md, reorder sidebar

choc 2024-02-19 22:44:22 +08:00
parent b3e1ab1545
commit abc41c1686
2 changed files with 21 additions and 5 deletions

@ -3,9 +3,9 @@
## Index ## Index
* [alwayscenter](https://codeberg.org/dwl/dwl-patches/wiki/alwayscenter) * [alwayscenter](https://codeberg.org/dwl/dwl-patches/wiki/alwayscenter)
* [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart) * [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart)
* [chainkeys](https://codeberg.org/dwl/dwl-patches/wiki/chainkeys)
* [center-terminal](https://codeberg.org/dwl/dwl-patches/wiki/center-terminal) * [center-terminal](https://codeberg.org/dwl/dwl-patches/wiki/center-terminal)
* [cfact](https://codeberg.org/dwl/dwl-patches/wiki/cfact) * [cfact](https://codeberg.org/dwl/dwl-patches/wiki/cfact)
* [chainkeys](https://codeberg.org/dwl/dwl-patches/wiki/chainkeys)
* [client-opacity](https://codeberg.org/dwl/dwl-patches/wiki/client-opacity) * [client-opacity](https://codeberg.org/dwl/dwl-patches/wiki/client-opacity)
* [column](https://codeberg.org/dwl/dwl-patches/wiki/column) * [column](https://codeberg.org/dwl/dwl-patches/wiki/column)
* [coredump](https://codeberg.org/dwl/dwl-patches/wiki/coredump) * [coredump](https://codeberg.org/dwl/dwl-patches/wiki/coredump)
@ -15,9 +15,11 @@
* [en-keycodes](https://codeberg.org/dwl/dwl-patches/wiki/en-keycodes) * [en-keycodes](https://codeberg.org/dwl/dwl-patches/wiki/en-keycodes)
* [env](https://codeberg.org/dwl/dwl-patches/wiki/env) * [env](https://codeberg.org/dwl/dwl-patches/wiki/env)
* [fallback](https://codeberg.org/dwl/dwl-patches/wiki/fallback) * [fallback](https://codeberg.org/dwl/dwl-patches/wiki/fallback)
* [focusdir](https://codeberg.org/dwl/dwl-patches/wiki/focusdir)
* [gaplessgrid](https://codeberg.org/dwl/dwl-patches/wiki/gaplessgrid) * [gaplessgrid](https://codeberg.org/dwl/dwl-patches/wiki/gaplessgrid)
* [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen) * [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen)
* [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle) * [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle)
* [ipc](https://codeberg.org/dwl/dwl-patches/wiki/ipc)
* [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout) * [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout)
* [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes) * [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes)
* [less-simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/less-simple-touch-input.-) * [less-simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/less-simple-touch-input.-)
@ -29,11 +31,11 @@
* [right](https://codeberg.org/dwl/dwl-patches/wiki/right) * [right](https://codeberg.org/dwl/dwl-patches/wiki/right)
* [rotatetags](https://codeberg.org/dwl/dwl-patches/wiki/rotatetags) * [rotatetags](https://codeberg.org/dwl/dwl-patches/wiki/rotatetags)
* [shiftview](https://codeberg.org/dwl/dwl-patches/wiki/shiftview) * [shiftview](https://codeberg.org/dwl/dwl-patches/wiki/shiftview)
* [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-input)
* [simpleborders](https://codeberg.org/dwl/dwl-patches/wiki/simpleborders)
* [singlemaster](https://codeberg.org/dwl/dwl-patches/wiki/singlemaster)
* [singletagset](https://codeberg.org/dwl/dwl-patches/wiki/singletagset) * [singletagset](https://codeberg.org/dwl/dwl-patches/wiki/singletagset)
* [skipfocus](https://codeberg.org/dwl/dwl-patches/wiki/skipfocus) * [skipfocus](https://codeberg.org/dwl/dwl-patches/wiki/skipfocus)
* [simpleborders](https://codeberg.org/dwl/dwl-patches/wiki/simpleborders)
* [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-input)
* [singlemaster](https://codeberg.org/dwl/dwl-patches/wiki/singlemaster)
* [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders) * [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders)
* [snail](https://codeberg.org/dwl/dwl-patches/wiki/snail) * [snail](https://codeberg.org/dwl/dwl-patches/wiki/snail)
* [swallow](https://codeberg.org/dwl/dwl-patches/wiki/swallow) * [swallow](https://codeberg.org/dwl/dwl-patches/wiki/swallow)
@ -43,5 +45,4 @@
* [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) * [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps)
* [viewnextocctag](https://codeberg.org/dwl/dwl-patches/wiki/viewnextocctag) * [viewnextocctag](https://codeberg.org/dwl/dwl-patches/wiki/viewnextocctag)
* [winview](https://codeberg.org/dwl/dwl-patches/wiki/winview) * [winview](https://codeberg.org/dwl/dwl-patches/wiki/winview)
* [focusdir](https://codeberg.org/dwl/dwl-patches/wiki/focusdir)
* [zoomswap](https://codeberg.org/dwl/dwl-patches/wiki/zoomswap) * [zoomswap](https://codeberg.org/dwl/dwl-patches/wiki/zoomswap)

15
ipc.md Normal file

@ -0,0 +1,15 @@
### 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/notchoc/dwlmsg).
### Download
- [git branch](https://codeberg.org/notchoc/dwl/src/branch/ipc)
- [2024-19-02](https://codeberg.org/dwl/dwl-patches/raw/branch/main/ipc/ipc.patch)
- [2023-10-28](https://gist.githubusercontent.com/fbushstone/b116c44340eb7a7878de1119dd931ca5/raw/ee66ac9e2a5dddd9b528df553e21080c2811e974/ipc-v2-fixed.patch) Updated version of 2023-04-29, prevents ipc from freezing the compositor in printstatus.
- [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-v2.patch) Use this for dwl-ipc-unstable-v2. If you are using commit [9d68554](https://github.com/djpohly/dwl/commit/9d68554c59a886b641d27a364884fb461af2d4f1) or later, use this. For status bars this protocol is supported by dwlb, Waybar and dwl-bar.
- [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-bbdf2.patch) Use this for dwl-ipc-unstable-v1. If you are using commit [bbdaf2a9](https://github.com/djpohly/dwl/commit/bbdf2a913b72e7a308ee0dfde6518a4285d4a775), [release 0.4](https://github.com/djpohly/dwl/releases/tag/v0.4) or earlier, use this. For status bars, this protocol is supported by dwl-bar.
- [2023-02-20](https://lists.sr.ht/~raphi/public-inbox/patches/39166) Use this for net-tapesoftware-dwl-wm-unstable-v1. If you are using commit [c69a2bec](https://github.com/djpohly/dwl/commit/c69a2bec3ff417fbc4ea8fec0a49096773e01e7d) or later, use this. For status bars this protocol is supported by somebar.
### Authors
- [MadcowOG](https://github.com/MadcowOG)
- [fbushstone](https://github.com/fbushstone)
- [notchoc](https://codeberg.org/notchoc)