feat(hypr): (almost) complete lua rewrite of configs

This commit is contained in:
2026-06-14 07:25:42 +02:00
parent 6e35326906
commit 37cf063eb1
11 changed files with 229 additions and 30 deletions
@@ -1,15 +1,37 @@
-- Set the workspace for certain apps
-- ┌ ┐
-- │ Set the workspace for certain apps │
-- └ ┘
-- Workspace 1
hl.window_rule({
match = { class = ".*steam_app.*", title = "ALVR.*|^hidden-terminator" },
match = { tag = "game" },
workspace = 1,
})
hl.window_rule({
match = { title = "ALVR|^hidden-terminator$" },
workspace = 1,
})
-- Workspace 2
hl.window_rule({
match = { class = "evince|okular|org\\.pwmt\\.zathura|librewolf", title = "BSManager|Beat Saber.*" },
match = { class = "evince|okular|org\\.pwmt\\.zathura|librewolf" },
workspace = 2,
})
hl.window_rule({
match = { title = "BSManager" },
workspace = 2,
})
-- Workspace 3
hl.window_rule({
match = { class = "minecraft-launcher", title = ".*Minecraft.*|.*[Ss]team.*" },
match = { class = "minecraft-launcher" },
workspace = 3,
})
hl.window_rule({
match = { title = "[Ss]team" },
workspace = 3,
})
hl.window_rule({
match = { title = "Qalculate|AG Controller" },
workspace = "special",
})