JakeStanger / ironbar

Customisable Wayland gtk bar written in Rust.
https://crates.io/crates/ironbar
MIT License
562 stars 47 forks source link

Volume PopUp customization #576

Open madfanat opened 4 months ago

madfanat commented 4 months ago

I would like to deeply configure and style the volume/device control popup: change slider orientation, color palette and so on.

I tried to find these (style) settings myself, but couldn’t. If it’s my fault, please give an example of a more detailed configuration.

JakeStanger commented 4 months ago

The orientation of the sliders is currently hard-coded, although this can be surfaced via the config. Which sliders are you looking to change?

Would this require the popup layout to change to accommodate, or are you looking to just rotate the sliders within the current layout? This would potentially result in a very wide and short popup window.

All colours and styles should be customisable via CSS. I don't have any examples to hand, but if you're looking for specifics I can assist.

madfanat commented 4 months ago

It’s a bit inconvenient to me that the volume slider is very thin but spends a lot of useless space (I think the reason is the device switching menu). Maybe it would be better to move the slider to the edge and make the switching menu much shorter. Another way I see is just to rotate the slider, but this will result in a very long popup. To solve this I think we could move the app-specific tab to the top if it’s not hardcoded.

madfanat commented 4 months ago

IMG_0272

Also I’m about to change the background color of the text (circled) to make the look uniform.