add riverctl patch

This commit is contained in:
Zuki Air 2025-07-28 16:01:04 +01:00
parent 1b14ce7fc6
commit 1ec0cbae78
2 changed files with 1195 additions and 0 deletions

33
patches/riverctl/readme Normal file
View File

@ -0,0 +1,33 @@
This patch adds river-control-unstable-v1 support to dwl, allowing changing dwl settings on the fly via dwlctl.
dwlctl is a small wayland program included with this patch that connects to dwl and is able to change some dwl settings at runtime,
such as rules and keybinds.
build for dwl-git commit 15bfffd8
currently only the following is supported:
clearing binds,
clearing rules,
adding rules,
adding binds,
running random functions,
example commands for using dwlctl with dwl:
dwlctl clear-binds
dwlctl bind super,shift Return spawn kitty tmux
dwlctl bind supershift q killclient
dwlctl clear-rules
dwlctl rule-add -appid steam -title steam float tags $((1 << 2))
dwlctl rule-add -appid kitty float
dwlctl rule-add -title firefox float
dwlctl func spawn kitty tmux
dwlctl func setlayout 2

File diff suppressed because it is too large Load Diff