1
0
Fork 0
forked from wry/wry

config: add fullscreen window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:49:39 +02:00
parent 91c948b219
commit e36ccd560c
14 changed files with 51 additions and 3 deletions

View file

@ -56,7 +56,7 @@ impl Parser for WindowMatchParser<'_> {
title,
title_regex,
),
(app_id, app_id_regex, floating, visible, urgent, focused),
(app_id, app_id_regex, floating, visible, urgent, focused, fullscreen),
) = ext.extract((
(
opt(str("name")),
@ -76,6 +76,7 @@ impl Parser for WindowMatchParser<'_> {
opt(bol("visible")),
opt(bol("urgent")),
opt(bol("focused")),
opt(bol("fullscreen")),
),
))?;
let mut not = None;
@ -125,6 +126,7 @@ impl Parser for WindowMatchParser<'_> {
visible: visible.despan(),
urgent: urgent.despan(),
focused: focused.despan(),
fullscreen: fullscreen.despan(),
types,
client,
})