feat(hypr): (almost) complete lua rewrite of configs
This commit is contained in:
@@ -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",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user