Update DMS and add autostart rule

This commit is contained in:
2026-07-11 11:46:47 -04:00
parent a6067c85b8
commit 4f4dae9181
10 changed files with 46 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
hl.on("hyprland.start", function()
hl.exec_cmd("dms run")
end)
+2
View File
@@ -0,0 +1,2 @@
-- Auto-generated by DMS — do not edit manually
+18
View File
@@ -0,0 +1,18 @@
-- Auto-generated by DMS — do not edit manually
hl.config({
general = {
gaps_in = 4,
gaps_out = 4,
border_size = 2,
resize_on_border = false,
},
decoration = {
rounding = 12,
},
})
hl.layer_rule({
match = { namespace = "^dms:bar$" },
xray = true,
})
View File
+1
View File
@@ -371,3 +371,4 @@ hl.window_rule({
}) })
require('windowrules') require('windowrules')
require('autostart')
+6 -6
View File
@@ -52,28 +52,28 @@ hl.define_submap("group", function()
hl.dsp.submap("reset") hl.dsp.submap("reset")
end) end)
hl.bind("H", function() hl.bind(mainMod .. " + H", function()
hl.dsp.window.move({ into_or_create_group = "left" }) hl.dsp.window.move({ into_or_create_group = "left" })
hl.dsp.submap("reset") hl.dsp.submap("reset")
end) end)
hl.bind("L", function() hl.bind(mainMod .. " + L", function()
hl.dsp.window.move({into_or_create_group = "right" }) hl.dsp.window.move({into_or_create_group = "right" })
hl.dsp.submap("reset") hl.dsp.submap("reset")
end) end)
hl.bind("K", function() hl.bind(mainMod .. " + K", function()
hl.dsp.window.move({into_or_create_group = "up"}) hl.dsp.window.move({into_or_create_group = "up"})
hl.dsp.submap("reset") hl.dsp.submap("reset")
end) end)
hl.bind("J", function() hl.bind(mainMod .. " + J", function()
hl.dsp.window.move({into_or_create_group = "down"}) hl.dsp.window.move({into_or_create_group = "down"})
hl.dsp.submap("reset") hl.dsp.submap("reset")
end) end)
hl.bind("bracketleft", hl.dsp.group.prev()) hl.bind(mainMod .. " + bracketleft", hl.dsp.group.prev())
hl.bind("bracketright", hl.dsp.group.next()) hl.bind(mainMod .. " + bracketright", hl.dsp.group.next())
hl.bind("ESCAPE", hl.dsp.submap("reset")) hl.bind("ESCAPE", hl.dsp.submap("reset"))
end) end)
+16
View File
@@ -16,6 +16,22 @@ hl.window_rule({
}, },
no_focus = true, no_focus = true,
}) })
hl.window_rule({
name = "jetbrains-tag",
match = {
class = "^jetbrains%-.*",
initial_title = "^$",
},
tag = "+jb",
})
hl.window_rule({
name = "jetbrains-focus",
match = {
tag = "jb",
},
focus_on_activate = true,
no_initial_focus = true,
})
-- JetBrains Rules end -- JetBrains Rules end
hl.window_rule({ hl.window_rule({