[GH-ISSUE #764] Add app id as name for launcher widget buttons #8672

Open
opened 2026-05-23 03:53:40 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @zoenetic on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/764

Is your feature request related to a problem? Please describe.
As a mechanism to allow styling of app icons/labels in the launcher on a per-app basis.

Describe the solution you'd like
Set the given app id as the corresponding button widget's name, per this comment.

Describe alternatives you've considered
Alternatively a way to pass the app id to an embedded script? But might still need the CSS selector to make good use of that.

Originally created by @zoenetic on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/764 **Is your feature request related to a problem? Please describe.** As a mechanism to allow styling of app icons/labels in the launcher on a per-app basis. **Describe the solution you'd like** Set the given app id as the corresponding button widget's name, per [this comment](https://github.com/JakeStanger/ironbar/discussions/763#discussioncomment-11147635). **Describe alternatives you've considered** Alternatively a way to pass the app id to an embedded script? But might still need the CSS selector to make good use of that.
Author
Owner

@zoenetic commented on GitHub (Nov 4, 2024):

My suggestion for the script side of things from the discussion, which I should've posted here 🙃

As for replacing the icon, I was thinking about the content property in CSS, but it looks like GTK 3's version of CSS doesn't implement that. Alternatively perhaps there could be an option for the launcher which sets the format of each app's name, and which accepts the app's ID as an input?

So you could have something like:

- type: launcher
  show_names: true
  show_icons: false
  name_format: {{script which outputs nerdfont for $app_id here}}
<!-- gh-comment-id:2455798210 --> @zoenetic commented on GitHub (Nov 4, 2024): My suggestion for the script side of things from the discussion, which I should've posted here :upside_down_face: > As for replacing the icon, I was thinking about the content property in CSS, but it looks like GTK 3's version of CSS doesn't implement that. Alternatively perhaps there could be an option for the launcher which sets the format of each app's name, and which accepts the app's ID as an input? > > So you could have something like: > > ``` > - type: launcher > show_names: true > show_icons: false > name_format: {{script which outputs nerdfont for $app_id here}} > ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8672
No description provided.