Replies: 1 comment 1 reply
-
|
This is good point and one I've been thinking about for a while now. The
dilemma here is having a set of css properties applying to all module
buttons vs modifying certain properties for a specific button.
From CSS perspective, the cleanest way to achieve them would be to add a
class to all module buttons, but give them different names. The common
properties can then be controlled via a class and specific can be
controlled by name.
I kept putting off impending CSS class assignment in the sfwbar config,
because I'm yet to come up with an elegant way to allow adding and removing
individual classes for a widget.
That said, I figured we need to start somewhere, so I added a 'class'
property which allows assigning one class for now (assigning a class
removes any other class assigned via this property previously).
I also updated default configuration in git to assign class 'module' to all
module widgets and give them individual names.
Does this address your use case?
…On Sat, 14 Mar 2026, 01:27 rwx7, ***@***.***> wrote:
Using sfwbar with labwc. I'm not understanding how to style included
widgets. When I use GTK inspector, I don't see classnames targetable with
CSS. Most are named "module" or blank. Why don't have names according to
the widget?
How do you override the style name, after it's been included? I want to
change the icon colors and text for network, notifications ... to black for
wallpapers.
—
Reply to this email directly, view it on GitHub
<#454>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFBGAEAZTW5AC5XLGT34QSYQJAVCNFSM6AAAAACWRTN3WSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZZGY2DCNZZGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using sfwbar with labwc. I'm not understanding how to style included widgets. When I use GTK inspector, I don't see classnames targetable with CSS. Most are named "module" or blank. Why don't have names according to the widget?
How do you override the style name, after it's been included? I want to change the icon colors and text for network, notifications ... to black for wallpapers.
Beta Was this translation helpful? Give feedback.
All reactions