Files
nixos-setup/configs/hl-fws1/hypr/conf/window-rules.lua
T
2026-09-15 14:28:50 -04:00

49 lines
1.2 KiB
Lua

-- =========================
-- Window Rules
-- =========================
-- Mirrors configs/fwbook/hypr/conf/window-rules.lua. Rounding/clip is handled
-- globally in general.lua (decoration.rounding = 12); below we float the
-- small control/dialog utilities so they don't tile.
hl.window_rule({
name = "float-pavucontrol",
match = { class = "^(pavucontrol)$" },
float = true,
})
hl.window_rule({
name = "float-blueman",
match = { class = "^(blueman-manager)$" },
float = true,
})
hl.window_rule({
name = "float-calculator",
match = { class = "^(org.gnome.Calculator)$" },
float = true,
})
hl.window_rule({
name = "float-portal-gtk",
match = { class = "^(xdg-desktop-portal-gtk)$" },
float = true,
})
hl.window_rule({
name = "float-open-file",
match = { title = "^(Open File)$" },
float = true,
})
hl.window_rule({
name = "float-save-file",
match = { title = "^(Save File)$" },
float = true,
})
hl.window_rule({
match = { class = "^chrome-.*" },
fullscreen = true,
name = "fulll-chrome",
})
-- HDMI AVI content type Cinema (Wayland "video") for the whole box.
hl.window_rule({
name = "hdmi-cinema",
match = { class = ".*" },
content = "video",
})