Skip to content

Conversation

@TripleTrable
Copy link
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
Copy link
Contributor Author

TripleTrable commented Nov 19, 2024

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.
@TripleTrable TripleTrable force-pushed the AModuls/expand-fill-no-center branch from 1fa0a8b to 1e481b7 Compare November 19, 2024 23:00
@Alexays
Copy link
Owner

Alexays commented Nov 20, 2024

LGTM, thx!

@Alexays Alexays merged commit b863627 into Alexays:master Nov 20, 2024
9 checks passed
@TripleTrable TripleTrable deleted the AModuls/expand-fill-no-center branch November 20, 2024 09:33
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
TripleTrable added a commit to TripleTrable/Waybar that referenced this pull request Jan 13, 2025
Thanks to tmccombs this commit fixes some inconsitencies in Alexays#3730.
These inconsitencies were:
- Fixed the oversight of missing the implementation of expand_center for
  center_ and right_
- Removes a last minut printf debugging statment I missed.
TripleTrable added a commit to TripleTrable/Waybar that referenced this pull request Mar 9, 2025
Thanks to tmccombs this commit fixes some inconsitencies in Alexays#3730.
These inconsitencies were:
- Fixed the oversight of missing the implementation of expand_center for
  center_ and right_
- Removes a last minut printf debugging statment I missed.
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