mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-22 16:22:46 +00:00
Compare commits
13 Commits
main
...
feac567278
| Author | SHA1 | Date | |
|---|---|---|---|
| feac567278 | |||
| e81a123f5a | |||
| e1e1a74342 | |||
| 89880aeefa | |||
| b46762bb3f | |||
| 642e4d0870 | |||
| fb576dd523 | |||
| fc5925e7b6 | |||
| 749f80e565 | |||
| eadf4ec650 | |||
| efde7ce68e | |||
| a23d17409d | |||
| 1ec0cbae78 |
@@ -0,0 +1,41 @@
|
||||
### Description
|
||||
This patch adds river-control-unstable-v1 support to dwl.
|
||||
This protocol allows sending args to dwl to execute functions via the included dwlctl.
|
||||
This is used to allow changing rules and binds, at runtime via dwlctl.
|
||||
|
||||
Most of this patch is stored in river-control.h, It contains a list of functions which can be called via dwlctl so adding support for new functions is as simple as adding them to the list.
|
||||
|
||||
This patches main intended use case is to have a startup script that calls dwlctl a bunch to add all the binds/rules you want, without the need of restarting dwl if you make any changes to the list of binds/rules.
|
||||
|
||||
### dwlctl syntax example
|
||||
```
|
||||
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 spawn kitty tmux
|
||||
|
||||
dwlctl setlayout 2
|
||||
|
||||
dwlctl togglefullscreen
|
||||
```
|
||||
|
||||
### Download
|
||||
- [git branch](/zuki/dwl-ctl/src/main)
|
||||
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/riverctl/riverctl.patch)
|
||||
- [main 2025-07-29](/dwl/dwl-patches/raw/branch/main/patches/riverctl/riverctl.patch)
|
||||
### Authors - latest at top [Codeberg nick is mandatory; other contact methods optional]
|
||||
- [zuki](https://codeberg.org/zuki)
|
||||
zukirust@gmail.com
|
||||
zuki at [Libera IRC dwl channel](https://web.libera.chat/?channels=#dwl)
|
||||
#zukigay at [dwl Discord](https://discord.gg/jJxZnrGPWN)
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user