# -------------------------------------------------- # Scrolling layout (Hyprland) – clean, valid config # Managed in repo: assets/conf/desktop/hypr/hyprscrolling.conf # # IMPORTANT: # - "indicators" / "indicator_*" options do NOT exist in the official hyprscrolling plugin # and are not part of the Hyprland scrolling layout config, so they were removed. # - If you still load the hyprscrolling plugin (.so) via Nix, that's fine, but the # behavior is controlled by the "scrolling { }" block below. # -------------------------------------------------- # If your Nix module already loads the plugin, you can omit this line. # If you keep it, it won't hurt as long as the path exists. plugin = /etc/hypr/plugins/libhyprscrolling.so # Make scrolling the default layout general { layout = scrolling } # -------------------------------------------------- # Scrolling layout configuration (documented on the Hyprland wiki) # -------------------------------------------------- scrolling { # Main behavior column_width = 0.5 fullscreen_on_one_column = true # How the focused window is "fit" into view: # 0/1/etc depends on your preference; keep what you had. focus_fit_method = 1 # Follow focus and keep a minimum visible part of adjacent columns follow_focus = true follow_min_visible = 0.4 # Optional: widths you can cycle through via `layoutmsg colresize +conf` # (Uncomment if you want this feature) # explicit_column_widths = 0.333, 0.5, 0.667, 1.0 # Direction of scrolling / layout direction = right } # -------------------------------------------------- # Keybinds (layoutmsg) – these are the commands scrolling uses # Put these here ONLY if this file is included into your main binds config. # -------------------------------------------------- # Move focus/viewport by column # bind = $mainMod, period, layoutmsg, move +col # Put the current window into its own new column # bind = $mainMod, P, layoutmsg, promote # Swap whole columns left/right # bind = $mainMod, H, layoutmsg, swapcol l # bind = $mainMod, L, layoutmsg, swapcol r # Resize column: set an absolute width, or cycle configured widths # bind = $mainMod, 1, layoutmsg, colresize 0.5 # bind = $mainMod, 2, layoutmsg, colresize 0.667 # bind = $mainMod, 3, layoutmsg, colresize 1.0 # bind = $mainMod, 0, layoutmsg, colresize +conf