Skip to content

appearence.opacity affects quick settings buttons (and more) #844

Description

@lwestlund

Configuring appearence.opacity = 0.0 to get for example transparent islands results in that the quick settings buttons also become transparent, which is probably not what most want.

Compare opacity 1.0 and 0.0:

Image Image

My suggestion is to add separate configuration for this, which would affect

  1. The buttons on the left and right of the sliders, and the power button
    let opacity = self.opacity;
  2. The quick settings button (whole button for wi-fi, bluetooth, etc)
    let opacity = self.opacity;
  3. The quick settings submenu button (visible only when hovering the little ">" on a quick setting)
    let opacity = self.opacity;
  4. The module button (visible only when hovering for example the quick settings module in the bar)
    let opacity = self.opacity;

I'm assuming that it would be enough to get started by just adding a "button" opacity that applies to these four.

On top of those it's probably also relevant to look into opacity of the tempo/weather module at

let (space, font_size, opacity, radius) =
use_theme(|t| (t.space, t.font_size, t.opacity, t.radius));
because that is also changing a bit unexpectedly with opacity 0.0. I suppose that this could also be a separate config, but I'm a bit too new to this code base to say how to deal with it in a nice way.

Again, opacity 1.0 and 0.0

Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions