From 5650e2f96a619cbbb9b45bc3a8b5e091d22037bb Mon Sep 17 00:00:00 2001 From: pablu Date: Fri, 3 Jul 2026 11:09:56 +0200 Subject: make hypr-nvim smart-nav better, now use ipc for quicker communication than synth binds --- dot_config/hypr/config/rules.lua | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'dot_config/hypr/config/rules.lua') diff --git a/dot_config/hypr/config/rules.lua b/dot_config/hypr/config/rules.lua index 971ba32..0e17e4a 100644 --- a/dot_config/hypr/config/rules.lua +++ b/dot_config/hypr/config/rules.lua @@ -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, +}) -- cgit 1.3.1