mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #732] Workspace Module: Add icon for active/unactive #4457
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#4457
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@yavko commented on GitHub (Sep 22, 2024):
Try using CSS and the content property, I think that's how I had this implemented
@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
@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.
@Reyshyram commented on GitHub (Sep 23, 2024):
Thanks, I will try and see if I can get something to work