feh: allow binding actions to multiple buttons/keys

In feh you can bind multiple keys to the same action, but Home Manager
only let you set a single key to an action. You can cheat and pass a
string with space-separated keys, but with this change you can pass a
list for each action to bind multiple keys to it.

Also adds a couple of tests.

Fixes #1366
This commit is contained in:
Olmo Kramer 2020-09-27 14:20:19 +02:00 committed by Robert Helgesson
parent 6fed10a09a
commit 41147ae09a
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
7 changed files with 89 additions and 18 deletions

View file

@ -0,0 +1,4 @@
zoom_in
next_img C-4
prev_img 3 C-3
zoom_out 4