make hypr-nvim smart-nav better, now use ipc for quicker communication than synth binds

This commit is contained in:
2026-07-03 11:09:56 +02:00
parent bdb56cb1c7
commit 5650e2f96a
9 changed files with 126 additions and 55 deletions

View File

@@ -16,11 +16,11 @@ hl.window_rule({
-- Workspaces to monitors
for i = 1, 6 do
hl.workspace_rule({ workspace = tostring(i), monitor = MAIN_DISPLAY, persistent = true })
for i = 1, 5 do
hl.workspace_rule({ workspace = tostring(i), monitor = MAIN_DISPLAY, persistent = true, default = i == 1 })
end
for i = 6, 10 do
hl.workspace_rule({ workspace = tostring(i), monitor = SECONDARY_DISPLAY, persistent = true })
hl.workspace_rule({ workspace = tostring(i), monitor = SECONDARY_DISPLAY, persistent = true, default = i == 6 })
end
@@ -59,3 +59,17 @@ hl.window_rule({
focus_on_activate = false,
suppress_event = "active activatefocus"
})
hl.window_rule({
match = {
class = "gamescope"
},
immediate = true,
monitor = MAIN_DISPLAY,
content = "game",
decorate = false,
keep_aspect_ratio = false,
no_anim = true,
no_blur = true,
no_shadow = true,
})