-- Load with hyprpm (recommended) or load a manual build with hyprctl. -- Hyprland 0.56 / 0.57 Lua configuration. Change these bindings to taste. -- Startup config is read before hyprpm loads plugins, and again after loading. if not hl.plugin.hyprflow then return end hl.config({ plugin = { hyprflow = { workspace_count = 9, include_empty_workspaces = true, -- Accept when the modifiers held on opening are released. select_on_release = false, workspace_scale = 1.0, workspace_spread = 0.18, -- Keep full workspace proportions. Set overlay to 1 for a desktop backdrop. workspace_overlay = 0, background_color = "rgb(000000)", background_opacity = 1.0, background_blur = 0.0, reflection_opacity = 0.34, center_y = 0.4, show_labels = 1, border_width = 0, border_color = "rgba(ffffffff)", border_color_current = "", border_color_focus = "", } } }) hl.bind("SUPER + Tab", function() hl.plugin.hyprflow.toggle() end) hl.bind("SUPER + ALT + Left", function() hl.plugin.hyprflow.left() end, { repeating = true }) hl.bind("SUPER + ALT + Right", function() hl.plugin.hyprflow.right() end, { repeating = true }) -- Direct workspace bindings open the flow and animate to that workspace. for index = 1, 9 do hl.bind("SUPER + ALT + " .. index, function() hl.plugin.hyprflow.jump(index) end) end -- Hyprflow enters this submap and restores the previous one on exit/unload. hl.define_submap("hyprflow", function() hl.bind("Left", function() hl.plugin.hyprflow.left() end, { repeating = true }) hl.bind("Right", function() hl.plugin.hyprflow.right() end, { repeating = true }) hl.bind("SUPER + ALT + Left", function() hl.plugin.hyprflow.left() end, { repeating = true }) hl.bind("SUPER + ALT + Right", function() hl.plugin.hyprflow.right() end, { repeating = true }) hl.bind("Return", function() hl.plugin.hyprflow.accept() end, { ignore_mods = true }) hl.bind("Escape", function() hl.plugin.hyprflow.cancel() end, { ignore_mods = true }) hl.bind("SUPER + Tab", function() hl.plugin.hyprflow.toggle() end) for index = 1, 9 do hl.bind(tostring(index), function() hl.plugin.hyprflow.jump(index) end) hl.bind("SUPER + ALT + " .. index, function() hl.plugin.hyprflow.jump(index) end) end hl.bind("catchall", function() end) end)