mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #1386] Allow to put css in the config file #6034
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#6034
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 @lypwig on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1386
Similarly to #1385, sometimes a small amount of css is required for a specific module and it can be convenient to put the style directly in the module:
@imnotpoz commented on GitHub (Feb 17, 2026):
This can already be achieved in the main css file, e.g. https://github.com/JakeStanger/ironbar/wiki/battery#styling
Each module has its own class selectors you can use to theme them separately
@lypwig commented on GitHub (Feb 17, 2026):
I know I can customize the modules in the css file (and I love it!). :)
This suggestion is more about putting the css directly in the config file itself, where the module is defined.
This also allows to put all the required resources in one file, which is greet to share modules (related discussion: #1384).
@lypwig commented on GitHub (Feb 19, 2026):
I think all this stuff represents a considerable amount of work and might be out of scope of this project, sorry for the inconvenience. Feel free to reopen if necessary.
@JakeStanger commented on GitHub (Feb 19, 2026):
I don't want to add support for languages inside the configuration other than small script snippets. CSS files can be imported from the main stylesheet if you want a modular system.