-
Notifications
You must be signed in to change notification settings - Fork 348
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 option to not scale some icons #1037
Comments
Suggestion: only have two options Crucially, allow rules to match on whether the icon is named or raw (and maybe on whether it's an SVG, though I'm not sure why this is useful). I think this covers all use cases? |
Sounds like a good approach! Thanks for you input. I think I'll explore this direction. |
It would also be possible to add an option in the commandline tools, a hint for Currently I cannot get the song-change notification icons big, without screwing up all other notifications, as But I am open to being corrected here, as this might go against some paradigms of dunst that I'm unfamiliar with. |
The recursive icon lookup used an icon_size rule to scale all icons to this size, but this was a bit limiting in allowing bigger icons for things like album art. To fix this, the old behaviour has been reinstated. The main difference is that icons from a theme (that are searched by icon name) are of the size `min_icon_size`, instead of being of whatever size was found first. ref: dunst-project#1037
This has been implemented in #1069.
It would be nice I guess, but I don't consider this a priority.
I think with the |
I still don't know how to do what I'm after, with the recent changes. As a reminder, I want to be able to use dunst to display two separate kinds of icons:
This is why I need rules to be able to match on whether the icon is raw or not, and set sizes accordingly. Is this hard to implement? |
Since [global]
min_icon_size=64
max_icon_size=500 |
But that will scale SVG icons up to 500 pixels! |
You mean named svg icons? It should scale all named icons to 64 pixels |
Could you try that with the latest dunst-git. I think that issue has been resolved? I cannot reproduce it at least. Otherwise, please open a new bug report describing how to reproduce this issue. |
With the introduction of the recursive icon lookup, all the icons will get scaled to a certain size,
icon_size
. For scalable icons this is no problem, since they are scalable without getting blurry. For other icons this is more of a problem. Icons that are sent as raw icons via dbus will never be scalable and icons that are sent via path name might be scalable.There are a few options to make sure icons don't get scaled badly:
max_icon_size
option again (as a rule).scale_raw_icons
rule which can be set to false to not get blurry icons.ref #992
The text was updated successfully, but these errors were encountered: