From abc41c16867940539eec5e06771f60b983bd5bd7 Mon Sep 17 00:00:00 2001 From: choc Date: Mon, 19 Feb 2024 22:44:22 +0800 Subject: [PATCH] add ipc.md, reorder sidebar --- _Sidebar.md | 11 ++++++----- ipc.md | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 ipc.md diff --git a/_Sidebar.md b/_Sidebar.md index 1b5e4ce..4db9e48 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -3,9 +3,9 @@ ## Index * [alwayscenter](https://codeberg.org/dwl/dwl-patches/wiki/alwayscenter) * [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) * [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) * [column](https://codeberg.org/dwl/dwl-patches/wiki/column) * [coredump](https://codeberg.org/dwl/dwl-patches/wiki/coredump) @@ -15,9 +15,11 @@ * [en-keycodes](https://codeberg.org/dwl/dwl-patches/wiki/en-keycodes) * [env](https://codeberg.org/dwl/dwl-patches/wiki/env) * [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) * [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) +* [ipc](https://codeberg.org/dwl/dwl-patches/wiki/ipc) * [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout) * [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes) * [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) * [rotatetags](https://codeberg.org/dwl/dwl-patches/wiki/rotatetags) * [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) * [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) * [snail](https://codeberg.org/dwl/dwl-patches/wiki/snail) * [swallow](https://codeberg.org/dwl/dwl-patches/wiki/swallow) @@ -43,5 +45,4 @@ * [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) * [viewnextocctag](https://codeberg.org/dwl/dwl-patches/wiki/viewnextocctag) * [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) diff --git a/ipc.md b/ipc.md new file mode 100644 index 0000000..8f3e4f6 --- /dev/null +++ b/ipc.md @@ -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)