63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
# --------------------------------------------------
|
||
# 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)
|
||
# --------------------------------------------------
|
||
|
||
plugin {
|
||
hyprscrolling {
|
||
column_width = 0.5
|
||
fullscreen_on_one_column = true
|
||
|
||
# 0 = center, 1 = fit (per docs/snippets)
|
||
focus_fit_method = 1
|
||
|
||
follow_focus = true
|
||
follow_min_visible = 0.4
|
||
|
||
# optional
|
||
# explicit_column_widths = 0.333, 0.5, 0.667, 1.0
|
||
|
||
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
|