[Hyprland] Adds window rules and introduces per-system config.
This commit is contained in:
20
home-manager/features/hypr/config/windows.lua
Normal file
20
home-manager/features/hypr/config/windows.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
hl.window_rule({
|
||||
match = {
|
||||
class = "Rofi",
|
||||
},
|
||||
stay_focused = true,
|
||||
})
|
||||
|
||||
-- Set border color to red if window is fullscreen
|
||||
hl.window_rule({
|
||||
match = { fullscreen = true },
|
||||
border_color = "rgb(FF0000) rgb(880808)",
|
||||
})
|
||||
|
||||
-- Suppress maximize events
|
||||
hl.window_rule({
|
||||
match = {
|
||||
class = ".*",
|
||||
},
|
||||
suppress_event = "maximize",
|
||||
})
|
||||
Reference in New Issue
Block a user