Skip to content

feat: dual-row scroller layout#466

Draft
rasmusq wants to merge 14 commits intoDreamMaoMao:mainfrom
rasmusq:feature/dual-row-scroller
Draft

feat: dual-row scroller layout#466
rasmusq wants to merge 14 commits intoDreamMaoMao:mainfrom
rasmusq:feature/dual-row-scroller

Conversation

@rasmusq
Copy link

@rasmusq rasmusq commented Nov 29, 2025

I tried to make a new layout that fits better with my 55 inch TV and thought that it could be relevant to implement in the actual build. It functions the same as the scroller layout, but allows for two rows to be an independent scroller layout.

It supports switching windows between rows and changing the ratio of the two row heights.
The layout name is "dual_scroller". It adds following config options:

bind=SUPER+SHIFT,b,togglerow # toggles the window between the two rows
bind=SUPER+SHIFT,j,adjust_dual_scroller_split,0.05 # keybinds to resize the split ratio
bind=SUPER+SHIFT,k,adjust_dual_scroller_split,-0.05 
dual_scroller_default_split_ratio=0.5 # the default ratio at the start of a session

It has become my main layout, so it might be relevant for others

I am not very experienced with this kind of development, so suggestions are very welcome.
I also posted a demo on reddit if that is of any use: https://www.reddit.com/r/unixporn/comments/1oyuzgi/mangowc_dual_scroller_and_other_layouts_for/

@DreamMaoMao DreamMaoMao force-pushed the main branch 2 times, most recently from 7f78dd2 to 559de3c Compare December 3, 2025 01:11
@DreamMaoMao
Copy link
Owner

DreamMaoMao commented Dec 3, 2025

it has some problems, such as when switching between this layout and others. When switching back to this layout, the status and position of the Windows may become disordered.

@DreamMaoMao DreamMaoMao force-pushed the main branch 2 times, most recently from 23ed8b3 to 44c271e Compare December 3, 2025 14:02
@rasmusq
Copy link
Author

rasmusq commented Dec 10, 2025

I'll try to get it more polished when I get some time on my hands. I will keep it up to date with the main branch, as I personally currently use this layout.

@rasmusq rasmusq marked this pull request as draft December 10, 2025 21:09
@DreamMaoMao DreamMaoMao force-pushed the main branch 2 times, most recently from 7084281 to 0f861e7 Compare December 13, 2025 10:22
@DreamMaoMao DreamMaoMao force-pushed the main branch 3 times, most recently from d0e71cf to f749500 Compare December 29, 2025 04:37
@DreamMaoMao DreamMaoMao force-pushed the main branch 4 times, most recently from 4a25da7 to f1cca25 Compare January 24, 2026 14:59
@DreamMaoMao DreamMaoMao force-pushed the main branch 3 times, most recently from cfd4249 to eb06075 Compare February 2, 2026 06:59
@DreamMaoMao DreamMaoMao force-pushed the main branch 3 times, most recently from 63097bd to 17acdae Compare February 12, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants