mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #1478] Focused module and workspace focused css classes conflict #446
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#446
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 @arkreddy21 on GitHub (May 8, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1478
Describe the bug
When trying to add margin to "focused" module, the css instead applies it to the active workspace button (for example, 2)
To reproduce
Add this to css
Expected behavior
It applies margin to the "focused" module
System information:
@JakeStanger commented on GitHub (May 8, 2026):
You'll probably find it applies to both.
You can use
.widget.focusedto target the module specifically@arkreddy21 commented on GitHub (May 8, 2026):
You're right. It conflicts with workspace's focused selector.
I installed ironbar just today and figuring it out. Would be niceif you mention this in the docs as it currently mentions ".focused" as selector for the "focused" module. Or maybe rename the module to "window" or something but that's a breaking change
@JakeStanger commented on GitHub (May 8, 2026):
It is the selector. The conflict is definitely an issue though. I'll probably look at changing the workspace class name to something else