feat: hyprland binds, some window rules, other small feats

This commit is contained in:
2026-06-13 18:08:00 +02:00
parent a253ce56b7
commit 6e35326906
18 changed files with 414 additions and 57 deletions
+42
View File
@@ -0,0 +1,42 @@
local function exit_submap()
hl.dispatch(hl.dsp.submap("reset"))
end
hl.bind("Super + Q", hl.dsp.exit())
hl.define_submap("window", function()
hl.bind("x", function()
hl.dispatch(hl.dsp.exit())
exit_submap()
end)
hl.bind("q", function()
hl.dispatch(hl.dsp.exit())
exit_submap()
end)
hl.bind("f", function()
hl.dispatch(hl.dsp.window.fullscreen({ mode = "fullscreen" }))
exit_submap()
end)
hl.bind("v", function()
hl.dispatch(hl.dsp.window.float())
exit_submap()
end)
hl.bind("c", function()
hl.dispatch(hl.dsp.window.center())
exit_submap()
end)
hl.bind("Shift + K", function()
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Insta-Kill activated' --app-name='Hyprtclt'"))
hl.dispatch(hl.dsp.exec_cmd("hyprctl kill"))
exit_submap()
end)
hl.bind("Escape", function()
exit_submap()
end)
end)