| RULES.CONF(5) | Carbonian Manual | RULES.CONF(5) |
rules.conf - window rules: what happens to an application's window when it opens
One rule per line, in the order when, what:
Lines starting with # and blank lines are ignored. The first rule that matches a new window wins. The user's ~/.config/carbonian/rules.conf is read before /etc/carbonian/rules.conf, so the user's rules come first. At most 64 rules are kept. carbonian-ctl rules reload reads the files again; windows already open are left alone.
PATTERN is a glob (see glob(7)) on the application's app id, case ignored, or title:GLOB on the window's title. A pattern is one word, so it cannot contain a space: use * for it. wlrctl toplevel list shows the app ids of what is open.
ACTION is one of
A line that does not parse is ignored.
~/.config/carbonian/rules.conf
/etc/carbonian/rules.conf
rule mpv fullscreen rule gimp* space rule code keys rule title:*Picture-in-Picture* console
carbonian-ctl(1), carbonian-foot(1)
| October 2026 | Carbonian |