Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app id as name for launcher widget buttons #764

Open
ozmodeuz opened this issue Nov 4, 2024 · 1 comment
Open

Add app id as name for launcher widget buttons #764

ozmodeuz opened this issue Nov 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ozmodeuz
Copy link

ozmodeuz commented Nov 4, 2024

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.

@ozmodeuz ozmodeuz added the enhancement New feature or request label Nov 4, 2024
@ozmodeuz
Copy link
Author

ozmodeuz commented 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}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant