-
Notifications
You must be signed in to change notification settings - Fork 343
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
applying new_icon
to one rules changes for all
#658
Comments
This is working as intended. Rules do not override each other and are checked independently. So in this case what happens is
Unfortunately I don't think there are any workarounds to achieve this currently, at least without listing all appnames. For a proper solution subscribe to #645, which should allow more advanced match syntax if it's added. |
Ah, I get it now. Thanks for explaining. As you mentioned in #645, [my-app]
appname = myapp
summary = "*"
timeout = 0
[fix-icon]
appname = "!myapp"
summary = "*"
new_icon = "" and this will solve this issue. But still it will be a workaround. Implementing solution mentioned in #638 would be perfect solution for this workaround. I will close it once |
This enables more advanced regular expression syntax. It can be enabled with `enable_posix_regex`. Fixes: dunst-project#1013 Fixes: dunst-project#645 Fixes: dunst-project#658
This enables more advanced regular expression syntax. It can be enabled with `enable_posix_regex`. Fixes: dunst-project#1013 Fixes: dunst-project#645 Fixes: dunst-project#658
This enables more advanced regular expression syntax. It can be enabled with `enable_posix_regex`. Fixes: dunst-project#1013 Fixes: dunst-project#645 Fixes: dunst-project#658
Regex is implemented in #1017. It should be better than fnmatch. |
I was looking to disable icon for all application, except one. I was looking to set
icon_position
via rule but its not available (relevent issue: #638). I tried to get workaround the issue by settingicon_position = left
inglobal
and usenew_icon
in rules. Then I caught this issue.My
dunstrc
is something like this.Expected Behaviour
Only notifications from
myapp
should display the icon and other icons should not show icon at all.Actual Behaviour
No icon in all notifications. If
new_icon = ""
rule is removed, then icon in all notifications is shown.It looks like setting
new_icon = ""
in one rule does not respect icon supplied to a notification in all notifications and sets them all tonull
.The text was updated successfully, but these errors were encountered: