mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #1382] proposal: add syntax to insert nerd font icons with their class name #3223
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#3223
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/1382
Using class names (ie
nf-fa-wifi) instead the icons themselves might improve code readability, in particular if the ide doesn't use a nerd font, so every icon is rendered with a rectangle.A dedicated syntax could be used, like surrounding with colons (
":nf-fa-wifi:") or something else.@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):
We'd have to work out how to resolve the names, and see how complex that is. There are a few (outdated) crates that do this. If it's feasible to maintain a database of them, I think this would be a good addition.
@lypwig commented on GitHub (Feb 20, 2026):
If #1381 is implemented, this feature could be a filter, so the syntax could be something like
{ 'nf-md-heart'|icon }.@JakeStanger commented on GitHub (Feb 24, 2026):
I think the colon syntax is better as it's a fairly standard icon/emoji syntax. Needing to wrap every single icon in braces, quote it, and then pipe it to some icon function isn't great.