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

feat: custom icons in tray #1400

Open
jakehamilton opened this issue Jan 17, 2022 · 8 comments
Open

feat: custom icons in tray #1400

jakehamilton opened this issue Jan 17, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@jakehamilton
Copy link

Waybar allows for customizing the output of most modules. It would be awesome to let users replace applet icons with their own. This would make the bar's style even more consistent.


I see two possible ways people would want to use this feature. The first being with an icon font like is common with other blocks. Here's an example of what that config might look like:

{
  "layer": "top",
  "modules-right": ["tray"],
  "tray": {
    "icons": {
      "discord": "icon-font-char-here"
    }
  }
}

The atlernative would be to use images similar to what is done today:

{
  "layer": "top",
  "modules-right": ["tray"],
  "tray": {
    "icons": {
      "discord": "/path/to/image.png"
    }
  }
}

I suppose it's also possible to support both options if we're comfortable adding multiple entries to the tray config (eg. fontIcons and imageIcons).


Of course, this will only be possible if there's something (like app id) that we can match on. I'm not very familiar with how applets or the system surrounding it work, so I'm not sure if this is possible. It seems like something that should be doable.

@sentientmachin3
Copy link

This is exactly what I was looking for.

@Alexays Alexays added the enhancement New feature or request label Oct 27, 2022
@antidoid
Copy link

Any Updates on this?

@LukashonakV
Copy link
Contributor

Hi @antidoid , not sure can you check whether it PR1978 solves current enhancement.

@rickalex21
Copy link

That would be sick.

@5p4r74cu5
Copy link

I would love this feature.

@MrGamerDoesGames
Copy link

This would be great to see, so I can make my tray icons integrate more with my system.

@Givemegitpls
Copy link

I want it! I need it!

@BonfireAtNight
Copy link

This would be exactly what I was looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants