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

Ability to configure bar layers & exclusive zones #582

Closed
JakeStanger opened this issue May 10, 2024 · 0 comments · Fixed by #583
Closed

Ability to configure bar layers & exclusive zones #582

JakeStanger opened this issue May 10, 2024 · 0 comments · Fixed by #583
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@JakeStanger
Copy link
Owner

JakeStanger commented May 10, 2024

Is your feature request related to a problem? Please describe.

Hidden bars currently sit in a layer which means they take up screen real-estate, which means when shown they cause all windows to move. This is often not desirable.

Describe the solution you'd like

  • Add a config option to set each bar's layer exclusive zone
  • If possible, default the bar to the overlay layer no exclusive zone if it starts hidden
  • For bonus points, I might be able to expose an IPC/CLI command to change a bar's layer exclusive zone at runtime (no idea how GTK or compositors will feel about that one yet)

Describe alternatives you've considered

None known.

Additional context

Discussed in #579

Discussion

Originally posted by bertSN1601 May 9, 2024
hi ,
new ironbar user here on hyprland and until now really happy. however when trying the auotohide functionality i noticed that when revealing a hidden bar , it causes the hyprland windows to resize because the bar takes screen layer real estate. is there a possibility to have the autohiding bars in the overlay layer ?

use cases :

  1. use the launcher module in a bottom bar as a dock with autohide. currently not possible with autohide turned on because of ripple effects on windows.
  2. use cairo module in a side bar with auto hide (or sys_info module) but again a bar in the top layer claims reaal estate. a bar in the overlay layer would be very conveniet way to display this info when needed. however windows will be resized which looks ugly and thus not really usable that way.

regards
Bert

@JakeStanger JakeStanger added enhancement New feature or request good first issue Good for newcomers labels May 10, 2024
@JakeStanger JakeStanger self-assigned this May 10, 2024
@JakeStanger JakeStanger changed the title Ability to configure bar layers Ability to configure bar layers & exclusive zones May 10, 2024
@JakeStanger JakeStanger added this to the 0.16.0 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant