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

Substitution rules for changing displayed name #44

Open
Covkie opened this issue Jul 8, 2024 · 8 comments
Open

Substitution rules for changing displayed name #44

Covkie opened this issue Jul 8, 2024 · 8 comments

Comments

@Covkie
Copy link

Covkie commented Jul 8, 2024

ex: "Spotify Free" -> "Spotify"

an example of this implemented is https://github.com/dhruv8sh/plasma6-window-title-applet

antroids added a commit that referenced this issue Jul 8, 2024
@antroids
Copy link
Owner

antroids commented Jul 8, 2024

Thank you for the report!
Could you check the version 0.6.5.
It's not released to the Store yet.

@Covkie
Copy link
Author

Covkie commented Jul 10, 2024

Works great! perhaps certain rules could be limited to certain applications by the window's class like with plasma window rules?

@antroids
Copy link
Owner

I think it will be better to use RegExp there.
The Class is X11 field, which can be obtained via kwindowsystem module, but I don't want to add a hard dependency to it.

@Covkie
Copy link
Author

Covkie commented Jul 14, 2024

Only works after boot once you click "Apply" on latest release

antroids added a commit that referenced this issue Jul 14, 2024
@antroids
Copy link
Owner

antroids commented Jul 14, 2024

Only works after boot once you click "Apply" on latest release

Should be fixed in 0.6.8, uploaded to the Store.

@Covkie
Copy link
Author

Covkie commented Jul 27, 2024

Substitution rules aren't applying to the hovered title
image

@antroids
Copy link
Owner

The tooltip does not depend on the Title options: it is always genericAppName field from the model.
I would leave it unchanged, you can see a short name in the Title, and full unchanged in the Tooltip.
What do you think?

@Covkie
Copy link
Author

Covkie commented Jul 30, 2024

hm I guess thats alright, I can live with it.

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

No branches or pull requests

2 participants