63 lines
1.6 KiB
Nix
63 lines
1.6 KiB
Nix
# --------------------------------------------------
|
||
# Hyprscrolling – scrolling layout with indicators
|
||
# Managed in repo: assets/conf/desktop/hypr/hyprscrolling.conf
|
||
# --------------------------------------------------
|
||
|
||
# Load plugin (.so is symlinked by Nix module)
|
||
plugin = /etc/hypr/plugins/libhyprscrolling.so
|
||
|
||
# Make scrolling the default layout
|
||
general {
|
||
layout = scrolling
|
||
}
|
||
|
||
# --------------------------------------------------
|
||
# Plugin configuration
|
||
# --------------------------------------------------
|
||
|
||
plugin:hyprscrolling {
|
||
|
||
# --- Core behaviour ---
|
||
enable = true
|
||
focus_follows_mouse = true
|
||
smooth_scrolling = true
|
||
|
||
# --- Gaps & spacing ---
|
||
gaps_in = 6
|
||
gaps_out = 16
|
||
|
||
# --- Indicators ---
|
||
# Show visual indicators for stacked windows
|
||
indicators = true
|
||
|
||
# Style of indicators (examples: line, dots, bar)
|
||
indicator_style = bar
|
||
|
||
# Thickness / size
|
||
indicator_thickness = 4
|
||
|
||
# Spacing between indicators
|
||
indicator_spacing = 6
|
||
|
||
# Offset from window edge
|
||
indicator_offset = 8
|
||
|
||
# Colors (RGBA)
|
||
indicator_color_active = rgba(137, 180, 250, 0.9) # blue-ish (Catppuccin style)
|
||
indicator_color_inactive = rgba(88, 91, 112, 0.6)
|
||
|
||
# Position (top, bottom, left, right)
|
||
indicator_position = bottom
|
||
}
|
||
|
||
# --------------------------------------------------
|
||
# Optional keybinds
|
||
# --------------------------------------------------
|
||
|
||
# Scroll through stack
|
||
bind = SUPER, mouse_down, layoutmsg, scroll +1
|
||
bind = SUPER, mouse_up, layoutmsg, scroll -1
|
||
|
||
# Toggle layout manually
|
||
bind = SUPER, S, layoutmsg, togglesplit
|