Hyprland v0.54 introduced a fantastic new layout called scrolling. If you are a laptop user or working with limited screen, this layout is a game-changer. It allows windows to be arranged in columns that you can scroll through, rather than shrinking them to fit the screen.

Here is how you can set it up.

Global Activation

To set the scrolling layout as your default for all workspaces, simply add this to your hyprland.conf:

1
2
3
general {
    layout = scrolling
}

Per-Workspace Setup

If you prefer to keep your standard tiling layout (dwindle or master) for most tasks but want the scrolling layout specifically for a workspace (e.g., for reading documentation or coding), you can apply it to a single workspace:

1
workspace = 1, layout:scrolling

Configuration

To fine-tune the behavior, you can configure the scrolling block. Here are some recommended settings:

1
2
3
4
5
scrolling {
    fullscreen_on_one_column = true
    column_width = 0.9
    direction = right
}
  • fullscreen_on_one_column: Automatically maximizes the window if it’s the only one in the column.
  • column_width: Sets the width of the columns relative to the screen (0.9 means 90% of the screen width).
  • direction: Determines the scrolling direction (e.g., right, left, up, down).

Give it a try! It makes multitasking on smaller screens significantly more comfortable.