47 lines
1.1 KiB
Lua
47 lines
1.1 KiB
Lua
--#############################
|
|
--## WINDOWS AND WORKSPACES ###
|
|
--#############################
|
|
|
|
-- See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
|
-- See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
-- Example windowrules that are useful
|
|
|
|
hl.window_rule({
|
|
name = "suppress-maximize-events",
|
|
match = {
|
|
class = ".*",
|
|
},
|
|
-- Ignore maximize requests from all apps. You'll probably like this.
|
|
suppress_event = "maximize",
|
|
})
|
|
|
|
hl.window_rule({
|
|
name = "fix-xwayland-drags",
|
|
match = {
|
|
class = "^$",
|
|
title = "^$",
|
|
xwayland = true,
|
|
float = true,
|
|
fullscreen = false,
|
|
pin = false,
|
|
},
|
|
-- Fix some dragging issues with XWayland
|
|
-- TODO: manual review — unmapped window rule action: "no_focus true"
|
|
})
|
|
|
|
-- Hyprland-run windowrule
|
|
hl.window_rule({
|
|
name = "move-hyprland-run",
|
|
match = {
|
|
class = "hyprland-run",
|
|
},
|
|
move = "20 monitor_h-120",
|
|
float = true,
|
|
})
|
|
|
|
hl.config({
|
|
debug = {
|
|
disable_logs = false,
|
|
},
|
|
}) |