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

Workspace Module: Add icon for active/unactive #732

Open
Reyshyram opened this issue Sep 22, 2024 · 4 comments
Open

Workspace Module: Add icon for active/unactive #732

Reyshyram opened this issue Sep 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Reyshyram
Copy link

Is your feature request related to a problem? Please describe.
It may already be possible and I'm to dumb to figure it out, but I find it more minimal than having numbers or a special icon for each workspace.

Describe the solution you'd like
I'd like the ability to specify a different string/icon and style for active and inactive workspaces, like to how it's handled in Waybar.

Describe alternatives you've considered
I can continue to use waybar, but I really like Ironbar and itś configuration format.

Additional context
Waybar example
image

@Reyshyram Reyshyram added the enhancement New feature or request label Sep 22, 2024
@yavko
Copy link
Contributor

yavko commented Sep 22, 2024

Try using CSS and the content property, I think that's how I had this implemented

@Reyshyram
Copy link
Author

Reyshyram commented Sep 22, 2024

I tried to use the content property but got an error
I may have used it wrong, I will retry

@yavko
Copy link
Contributor

yavko commented Sep 23, 2024

Turns out I only changed the color, and aparently content isn't a CSS property in gtk3 css, maybe background image could be used, or even more extremely you could make it so you have 2 fonts where each font for the same character has a different icon, but that's overkill. Yeah idk, but idk how this feature could be added to ironbar either.

@Reyshyram
Copy link
Author

Thanks, I will try and see if I can get something to work

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

2 participants