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

icon in dark mode? #3328

Open
Nambers opened this issue Jun 4, 2024 · 6 comments
Open

icon in dark mode? #3328

Nambers opened this issue Jun 4, 2024 · 6 comments

Comments

@Nambers
Copy link
Contributor

Nambers commented Jun 4, 2024

I'm using waybar with Hyprland in Arch. My waybar background is in dark and I bearly can see my network and input-keyboard icons. Is there a way to change my icon into dark mode or etc to make them have light edge?
What I tried:

  1. changing KDE theme and KDE icon theme
  2. using waybar CSS: but it doesn't support those technics that can make it light

e.g.:
image

@apiraino
Copy link

apiraino commented Jun 5, 2024

Can you show your style.css for waybar?

Did you try changing colors and transparency with window#waybar? (I am not familiar with hyprland nor kde)

@Nambers
Copy link
Contributor Author

Nambers commented Jun 5, 2024

Can you show your style.css for waybar?

it is actually this one: https://github.com/Alexays/Waybar/wiki/Examples#cjbassis-configuration
but this is what mine looks:
image

Did you try changing colors and transparency with window#waybar? (I am not familiar with hyprland nor kde)

yes changing bg color to white will help. But what I though is to change the edge of trays icons into white?

@apiraino
Copy link

apiraino commented Jun 6, 2024

yes changing bg color to white will help. But what I though is to change the edge of trays icons into white?

Hmm I'm not sure Waybar can interfere with the style of icons of other applications. Maybe you can apply style to the tray Waybar group using the #tray CSS ID selector?

@Nambers
Copy link
Contributor Author

Nambers commented Jun 6, 2024

yes changing bg color to white will help. But what I though is to change the edge of trays icons into white?

Hmm I'm not sure Waybar can interfere with the style of icons of other applications. Maybe you can apply style to the tray Waybar group using the #tray CSS ID selector?

Sure I can just set bg color into white for #tray , but the visual looks bad... So I'm here to find some potential better solution for that.

@RobertMueller2
Copy link
Contributor

There's probably better styles for this, but GTK_DEBUG=interactive told me this can be used to style the icons:

#tray widget image {
    border: 1px solid #ffffff;
}

satty-20240722-16:49:54

@909oce
Copy link

909oce commented Aug 29, 2024

I've tried messing around with this a little bit too and I'm getting nowhere. I've tried messing with the CSS and renaming/adding icons in my GTK icon theme, neither of which seem to affect it. It would be cool to see some kind of way to atleast even use the CSS filter property to greyscale the icons. I'm not sure how feasible it is, but unfortunately in the current state traybar icons are just super ugly and out of place. It's weird because some things like Network Manager use the icon provided in my theme and look great, but then there's apps like Discord and Steam which don't. I'm not really sure if I'm doing something wrong with my icon theme which causes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants