Files
nixos-setup/configs/fwbook/hypr/conf/window-rules.lua
T
2026-10-01 13:45:17 -04:00

68 lines
1.5 KiB
Lua

-- =========================
-- Window Rules
-- =========================
hl.window_rule({
match = { class = "com.mitchellh.ghostty" },
fullscreen = false,
size = { "(monitor_w*0.5)", "(monitor_h)" },
name = "ghostty-init",
})
hl.window_rule({
name = "float-pavucontrol",
match = { class = "org.pulseaudio.pavucontrol" },
float = true,
})
hl.window_rule({
name = "float-hyprland-share-picker",
match = { title = "Select what to share" },
float = true,
stay_focused = 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 = { initial_title = "Slack - Huddle Preview" },
float = true,
name = "float-slack-huddle",
})
hl.window_rule({
match = { class = "com.gabm.satty" },
float = true,
name = "float-satty",
})
hl.window_rule({
match = { float = true },
name = "float-style",
no_screen_share = true,
})
hl.window_rule({
match = { class = "^chrome-.*" },
fullscreen = true,
name = "fulll-chrome",
})