Skip to content

feat(wlib.toKdl): add _raw to support literal regex props#581

Open
iynaix wants to merge 1 commit into
BirdeeHub:mainfrom
iynaix:niri-raw-regex
Open

feat(wlib.toKdl): add _raw to support literal regex props#581
iynaix wants to merge 1 commit into
BirdeeHub:mainfrom
iynaix:niri-raw-regex

Conversation

@iynaix

@iynaix iynaix commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Adds an _raw attribute to be able to use raw literals in kdl, e.g.

excludes = [  { app-id._raw = "^org\.telegram\.desktop$"; } ];

to produce

exclude app-id=r#"^org\.telegram\.desktop$"#

as show in the niri docs

Fixes #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant