diff --git a/dms/colors.conf b/.dms-backups/2026-07-10_07-27-36/dms/colors.conf similarity index 100% rename from dms/colors.conf rename to .dms-backups/2026-07-10_07-27-36/dms/colors.conf diff --git a/dms/layout.conf b/.dms-backups/2026-07-10_07-27-36/dms/layout.conf similarity index 100% rename from dms/layout.conf rename to .dms-backups/2026-07-10_07-27-36/dms/layout.conf diff --git a/dms/windowrules.conf b/.dms-backups/2026-07-10_07-27-36/dms/windowrules.conf similarity index 100% rename from dms/windowrules.conf rename to .dms-backups/2026-07-10_07-27-36/dms/windowrules.conf diff --git a/autostart.lua b/autostart.lua new file mode 100644 index 0000000..25654ae --- /dev/null +++ b/autostart.lua @@ -0,0 +1,3 @@ +hl.on("hyprland.start", function() + hl.exec_cmd("dms run") +end) diff --git a/dms/cursor.lua b/dms/cursor.lua new file mode 100644 index 0000000..d0401a9 --- /dev/null +++ b/dms/cursor.lua @@ -0,0 +1,2 @@ +-- Auto-generated by DMS — do not edit manually + diff --git a/dms/layout.lua b/dms/layout.lua new file mode 100644 index 0000000..73ce139 --- /dev/null +++ b/dms/layout.lua @@ -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, +}) diff --git a/dms/windowrules.lua b/dms/windowrules.lua new file mode 100644 index 0000000..e69de29 diff --git a/hyprland.lua b/hyprland.lua index 1b8c4af..d8d536e 100644 --- a/hyprland.lua +++ b/hyprland.lua @@ -371,3 +371,4 @@ hl.window_rule({ }) require('windowrules') +require('autostart') diff --git a/keybinds.lua b/keybinds.lua index 2b4f735..022389e 100644 --- a/keybinds.lua +++ b/keybinds.lua @@ -52,28 +52,28 @@ hl.define_submap("group", function() hl.dsp.submap("reset") end) - hl.bind("H", function() + hl.bind(mainMod .. " + H", function() hl.dsp.window.move({ into_or_create_group = "left" }) hl.dsp.submap("reset") end) - hl.bind("L", function() + hl.bind(mainMod .. " + L", function() hl.dsp.window.move({into_or_create_group = "right" }) hl.dsp.submap("reset") end) - hl.bind("K", function() + hl.bind(mainMod .. " + K", function() hl.dsp.window.move({into_or_create_group = "up"}) hl.dsp.submap("reset") end) - hl.bind("J", function() + hl.bind(mainMod .. " + J", function() hl.dsp.window.move({into_or_create_group = "down"}) hl.dsp.submap("reset") end) - hl.bind("bracketleft", hl.dsp.group.prev()) - hl.bind("bracketright", hl.dsp.group.next()) + hl.bind(mainMod .. " + bracketleft", hl.dsp.group.prev()) + hl.bind(mainMod .. " + bracketright", hl.dsp.group.next()) hl.bind("ESCAPE", hl.dsp.submap("reset")) end) diff --git a/windowrules.lua b/windowrules.lua index be34db5..092a330 100644 --- a/windowrules.lua +++ b/windowrules.lua @@ -16,6 +16,22 @@ hl.window_rule({ }, 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 hl.window_rule({