Skip to content

Add stretching of modules and modules-center toggling - #3730

Merged
Alexays merged 2 commits into
Alexays:masterfrom
TripleTrable:AModuls/expand-fill-no-center
Nov 20, 2024
Merged

Alexays merged 2 commits into
Alexays:masterfrom
TripleTrable:AModuls/expand-fill-no-center

Conversation

@TripleTrable

Copy link
Copy Markdown
Contributor

This Patch allows the stretching of modules-{left,center,right} as well add a "expand" flag to AModule. This allows one module to consume the leftover space.
To allow the left or right modules to fully consume the center, the changes also include a way to remove the center box (center_) altogether.

This is useful for use-cases like: #1561

@TripleTrable

TripleTrable commented Nov 19, 2024

Copy link
Copy Markdown
Contributor Author

Any Interest in looking at this? The 51 come from touching nearly all man pages.

This Patch allows the stretching of modules-{left,center,right} as well
add a "expand" flag to AModule. This allows one module to consume the
leftover space.
To allow the left or right modules to fully consume the center, the
changes also include a way to remove the center box (center_)
altogether.
@Alexays

Alexays commented Nov 20, 2024

Copy link
Copy Markdown
Owner

LGTM, thx!

@Alexays
Alexays merged commit b863627 into Alexays:master Nov 20, 2024
@TripleTrable
TripleTrable deleted the AModuls/expand-fill-no-center branch November 20, 2024 09:33
Comment thread src/bar.cpp
Comment thread src/bar.cpp
tmccombs added a commit to tmccombs/Waybar that referenced this pull request Jan 1, 2025
Resolving conflicts with f9acc1f
(Alexays#3730) was a somewhat complicated.

Conflicts:
	include/AModule.hpp
	src/AModule.cpp
	src/bar.cpp
	src/modules/network.cpp
	src/util/backlight_backend.cpp
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.

3 participants