How to disable urgency hints per application?
I have an application that keeps sending repeated urgency hints, and I'd like to ignore them. Unfortunately this doesn't seem to work.
for_window [class="keepass2"] urgency disable
I have an application that keeps sending repeated urgency hints, and I'd like to ignore them. Unfortunately this doesn't seem to work.
for_window [class="keepass2"] urgency disable
Why would it work? Where did you read that this is a valid command?
There's no such feature in i3. If the application spams urgency hints, file a bug with the application. Urgency is really only for urgency and at the very least they could consider adding an option to disable them altogether.
One thing you could try, however, is using urgent=latest to react to urgency hints and triggering wmctrl to disable the hint again if it was keepass. This might work, but is a workaround and will likely flash the hint for a brief moment. It would look something like this
for_window [urgent=latest] exec --no-startup-id wmctrl -r keepass -b remove,demands_attention
You may have to adapt the keepass argument so that it actually matches the window. If keepass uses non-generic names, you will have to extend the script to match the window somehow.
Asked: 2015-10-29 00:26:34 +0000
Seen: 43 times
Last updated: Oct 29