[GH-ISSUE #732] Workspace Module: Add icon for active/unactive #8668

Open
opened 2026-05-23 03:53:35 +01:00 by JakeStanger · 4 comments
Owner

Originally created by @Reyshyram on GitHub (Sep 22, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/732

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

Originally created by @Reyshyram on GitHub (Sep 22, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/732 **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](https://github.com/user-attachments/assets/cbe134f1-5342-4328-acba-a94cdb6d28f8)
Author
Owner

@yavko commented on GitHub (Sep 22, 2024):

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

<!-- gh-comment-id:2366936948 --> @yavko commented on GitHub (Sep 22, 2024): Try using CSS and the content property, I think that's how I had this implemented
Author
Owner

@Reyshyram commented on GitHub (Sep 22, 2024):

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

<!-- gh-comment-id:2366937210 --> @Reyshyram commented on GitHub (Sep 22, 2024): I tried to use the content property but got an error I may have used it wrong, I will retry
Author
Owner

@yavko commented on GitHub (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.

<!-- gh-comment-id:2367084033 --> @yavko commented on GitHub (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.
Author
Owner

@Reyshyram commented on GitHub (Sep 23, 2024):

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

<!-- gh-comment-id:2367204869 --> @Reyshyram commented on GitHub (Sep 23, 2024): Thanks, I will try and see if I can get something to work
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8668
No description provided.