Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyprbars: aligning left or right kinda "changes" the order of the buttons #223

Open
msmafra opened this issue Sep 19, 2024 · 3 comments
Open

Comments

@msmafra
Copy link

msmafra commented Sep 19, 2024

Probaly my interpretation of aligning left aligning right (coming form text editors/processors, but I think the order should not change or at least have a starting point/anchor for the alignment to choose the order of the buttons the same or have it the inverse:

Aligned left
Screenshot-240919_143815

Aligned right
Screenshot-240919_143659

...
        hyprbars-button = $btend, 20, 󰖭, hyprctl dispatch killactive
        hyprbars-button = $btmax, 20, 󰖯, hyprctl dispatch fullscreen 1
        hyprbars-button = $btmin, 20, 󰖰, hyprctl dispatch movetoworkspacesilent special
        hyprbars-button = $cosmiccobalt, 20,  , hyprctl dispatch togglefloating
        hyprbars-button = $btmove, 20, , hyprctl dispatch movewindow mon:eDP-1
        hyprbars-button = $btmove, 20, , hyprctl dispatch movewindow mon:HDMI-A-1
        hyprbars-button = rgb(403899), 20, , hyprctl dispatch movetoworkspace special:nebula
        hyprbars-button = rgb(403899), 20, , hyprctl dispatch pin
        hyprbars-button = rgb(403899), 20,  , hyprctl dispatch fullscreenstate 0 3
        hyprbars-button = rgb(403899), 20,  , hyprctl dispatch fullscreen 0
...
@vaxerski
Copy link
Member

no, this is intended behavior. Buttons always "grow" from the edge they are aligned to

@msmafra
Copy link
Author

msmafra commented Sep 20, 2024

Is there a possibility to add a paramenter to toggle the order, so with the paramenter it would only "move" the buttons as group to the left or right not changing the order from the configuration file?

@vaxerski
Copy link
Member

mrs welcome

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

No branches or pull requests

2 participants