Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion default/hypr/bindings/tiling.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@ o.bind("SUPER + ALT + mouse_down", "Next window in group", hl.dsp.group.next())
o.bind("SUPER + ALT + mouse_up", "Previous window in group", hl.dsp.group.prev())

for index = 1, 5 do
o.bind("SUPER + ALT + code:" .. tostring(index + 9), "Switch to group window " .. index, hl.dsp.group.active({ index = index }))
o.bind("SUPER + ALT + code:" .. tostring(index + 9), "Switch to group window " .. index, function()
local window = hl.get_active_window()
local group = window and window.group

if group and index <= group.size then
hl.dispatch(hl.dsp.group.active({ index = index }))
end
end)
end

o.bind("SUPER + SLASH", "Monitor scaling up", "omarchy-hyprland-monitor-scaling up")
Expand Down