Skip to content

Conversation

@bendi2005
Copy link

By default binds trigger on press of a key (as opposed to on release). There are some exceptions to this, notably tofi with the exec dispatcher. This is problematic since tofi gets on the screen in a single frame, so the bottleneck for the user will be this anomaly in trigger behavior, which the l flag fixes. I might not have worded it really well, but i think its important to document this issue

By default binds trigger on press of a key (as opposed to on release). There are some exceptions to this, notably tofi with the exec dispatcher.  This is problematic since tofi gets on the screen in a single frame, so the bottleneck for the user will be this anomaly in trigger behavior, which the l flag fixes. I might not have worded it really well, but i think its important to document this issue
@fufexan
Copy link
Member

fufexan commented Jul 20, 2025

I don't see how the l flag is relevant, it stands for locked and allows triggering keybinds when a screenlock is active.

You probably meant r, which triggers binds on release. Still, I don't see how that affects tofi.

@bendi2005
Copy link
Author

No, I meant the l flag, try and replicate what I wrote. Bind exec tofi to a key and observe the fact it doesnt run until the key is lifted. When you add the l flag it triggers instantly

@fufexan
Copy link
Member

fufexan commented Jul 22, 2025

I don't know what you're seeing. It works on press with/without the l flag, as well as with or without modifiers. Using bindr it only triggers after key release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants