-
Notifications
You must be signed in to change notification settings - Fork 351
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
Show icon randomly when no icons are provided #1322
Comments
At the moment you can't shuffle default icons but maybe you can hack up something with rules? For example by matching some regexes you can change the default icon (I didn't try it though) |
Hmmmm. Can you link me to some relevant doc for this regex feature |
In the online docs under the rules section there is an overview. Maybe you can match against the body of the notification and change the icon. It is not random as you said, but you can simulate it somehow I think |
Another solution is creating a wrapper script for dunstify that adds a random icon if none is provided. This would probably be best because you have full control and true randomness! |
I think this can be implemented by using a list as the value for default_icon. what do you think? |
default_icon
is nice but the same icon for every notification is a bit boring. Can I randomly show an icon from a set of default icons?The text was updated successfully, but these errors were encountered: