aboutsummaryrefslogtreecommitdiff
path: root/dot_config/hypr/config/rules.lua
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-07-03 11:09:56 +0200
committerpablu <me@pablu.de>2026-07-03 11:09:56 +0200
commit5650e2f96a619cbbb9b45bc3a8b5e091d22037bb (patch)
treea6ac2ae79dcdadaf2d0e0e6fab424db1be0815a2 /dot_config/hypr/config/rules.lua
parentbdb56cb1c7733a0dfd04b1dc2e312810a8d088b4 (diff)
make hypr-nvim smart-nav better, now use ipc for quicker communication than synth binds
Diffstat (limited to 'dot_config/hypr/config/rules.lua')
-rw-r--r--dot_config/hypr/config/rules.lua20
1 files changed, 17 insertions, 3 deletions
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,
+})