The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

How to disable urgency hints per application?

asked 2015-10-29 00:26:34 +0000

Manouchehri gravatar image

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
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-29 06:11:55 +0000

Airblader gravatar image

updated 2015-10-29 07:43:30 +0000

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.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-29 00:26:34 +0000

Seen: 43 times

Last updated: Oct 29