2025-07-28 21:21:44 +01:00
..
2025-07-28 21:21:44 +01:00
2025-07-28 21:21:44 +01:00

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