added more default commands
This commit is contained in:
12
config.h
12
config.h
@ -2,10 +2,18 @@
|
||||
#include "interactions.h"
|
||||
|
||||
static mimetype mimetype_default_cmd[] = {
|
||||
/* mimetype shell command */
|
||||
/* mimetype shell command
|
||||
* ^ substring of "file --mime-type -b ./hovered"
|
||||
* this does mean that this list is checked for completely linear.
|
||||
* Example:
|
||||
* file --mime-type -b ./image.gif
|
||||
* gives us "image/gif", thusly if we want to open gif in mpv rather than feh,
|
||||
* we need to define "gif" before "image" */
|
||||
{ "text", "$EDITOR" },
|
||||
{ "gif", "mpv --loop-file=\"inf\"" },
|
||||
{ "image", "feh" },
|
||||
{ "video", "mpv" }
|
||||
{ "video", "mpv" },
|
||||
{ "audio", "mpv" }
|
||||
};
|
||||
|
||||
static binding key_binding[] = {
|
||||
|
Reference in New Issue
Block a user