toggle_fullscreen setting in user config gets ignored if key is already used #91
Comments
Yup, this is a documentation error. When assigning a key binding, feh does not check if it is already bound somewhere else, and when handling a key press it simply walks through all available commands. I'll update the documentation to note that conflicting key bindings need to be resolved by the user, thanks for pointing it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following example config is stored in
${HOME}/.config/feh/keys
:When loading an image, and pressing
f
the image file name and count becomes visible and hides as expected with every key press. So it’s basically working to re-map keys without un-mapping them first (same for the two scroll commands whose keys are used for zooming in default config).According to the documentation, the fullscreen toggle command is
toggle_fullscreen
and it’s mapped onv
by default. Toggling fullscreen with default key works as expected.Now I’m altering my config to this:
According to the behavior with
toggle_filenames
andUp
/Down
for scrolling, I expect toggling fullscreen when pressingf
now.Instead of toggling fullscreen the image list gets written to
${HOME}
.But if
setting save_filelist
beforetoggle_fullscreen f
it works. So I have to unbindf
before being able to toggle fullscreen with this key, but I don’t have to unsetf
before being able to display file names …I’m not sure if this is intended behavior, but i’s inconsistent behavior.
The text was updated successfully, but these errors were encountered: