qutebrowser: Add maps for viewing images in nsxiv
Added two mappings: localleader+i and localleader+I (localleader being , in my case) to open single images or galleries in nsxiv. The maps make use of nsxiv-rifle and mirror the setup for opening video in mpv with +m/+M where capital letters open the current page and small ones let you follow a link.
This commit is contained in:
parent
aa47068fd0
commit
0aeccdad4f
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ config.bind(leader + "tV", "set tabs.position left")
|
|||
# bind mpv to play the current page/links, using a single instance which queues the next link passed
|
||||
config.bind(lleader + "M", "spawn umpv {url}")
|
||||
config.bind(lleader + "m", "hint links spawn umpv {hint-url}")
|
||||
config.bind(lleader + "I", "spawn nsxiv-rifle {url}")
|
||||
config.bind(lleader + "i", "hint --rapid links spawn nsxiv-rifle {hint-url}")
|
||||
|
||||
# bind youtube-dl to download the current page/links
|
||||
config.bind(lleader + "dM", "spawn vidl {url}")
|
||||
|
|
Loading…
Reference in a new issue