baskerville/sxhkd

Slightly more verbose could not grab key messages?

erwin opened this issue · 0 comments

erwin commented

I was wondering if there's interest in making slightly more verbose messages for:

Could not grab key 25 with modfield 64: the combination is already grabbed.
Could not grab key 25 with modfield 80: the combination is already grabbed.
Could not grab key 25 with modfield 66: the combination is already grabbed.
Could not grab key 25 with modfield 82: the combination is already grabbed.

Ideally the message would include the line number or the actual line content from sxhkdrc that generated the attempted grab the key and failed.

In many cases it's not at all obvious where you should look to find the issue, especially if you've been using sxhkdrc and an update in some other program has suddenly grabbed new keybinds...