-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dunst: set per-app notification icons #2005
base: main
Are you sure you want to change the base?
Conversation
Please confirm if this is ready to merge |
55de971
to
c7992db
Compare
I have tested it by myself and looks like it works as expected. Only one case is not resolved - if current icon theme have no icon for the app - I can't figure out how to fallback to hyprdots icon. |
I'm currently doing a fork ATM and merged this PR cause this looks promising. |
Actually it is not a problem - it is how dunst behaves. It does not provide any fallback if icon not found - and notification will be shown without icon. This relates to some unpopular apps icon for can exist in current icon theme, but when switching to other theme with other icons - it can be absent there. |
We can solve this by adding an icon pack that might have all the icons or just simply add an array of icon names here. Dunst did not emphasize the max icons, so maybe we can fit an array of icon packs? lol
Dunno if it gives an error but will try to add 50+ icon packs in this so what we can do is use something like this icon_theme = "$iconTheme ${allTheme@}" allTheme can be an array of All themes available If dunst is written correctly it should stop parsing the array if it finds the correct icons. maybe🤔 |
Yes, it stops, it can be checked in logs if started with debug logs: dunst -verbosity debug p.s. will try to do amendments to |
@kRHYME7 Please review the changes. Now icon theme from current HyDE theme is set as first element in This is looking like that: icon_theme = "Tela-circle-pink,BeautyLine,Tela-circle-purple,Gruvbox-Plus-Dark,Tela-circle-yellow,Tela-circle-grey,Tela-circle-dracula,Tela-circle-grey,Tela-circle-green,Tela-circle-blue,Tela-circle-black,Nordzy" |
Pull Request
Description
This PR adds ability to set per-application icons for dunst notification messages to better distinct one from another.
Please not that I have increased
min_icon_size
to 128, because dafualthyprdots.svg
image have size 300x300 in svg code, but themed icons don't, and without this change amended notifications looks smaller.Type of change
Please put an
x
in the boxes that apply:Checklist
Please put an
x
in the boxes that apply:Screenshots
Before
After