1
0
mirror of https://gittea.dev/nova/th.git synced 2026-01-30 16:50:10 -05:00

small changes

This commit is contained in:
nova
2026-01-05 22:15:11 +01:00
parent 393864c80f
commit 66f3f3bef6
3 changed files with 14 additions and 25 deletions

View File

@@ -21,12 +21,12 @@ static const mimetype mimetype_default_cmd[] = {
* 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 % &" },
{ "audio", "mpv" },
{ "pdf", "zathura" },
{ "text", "$EDITOR" },
{ "gif", "nohup mpv --loop-file=\"inf\" % >/dev/null 2>&1 &" },
{ "image", "feh % >/dev/null 2>&1 &" },
{ "video", "nohup mpv % >/dev/null 2>&1 &" },
{ "audio", "mpv" },
{ "pdf", "zathura" },
};
static const extension file_extension_default_cmd[] = {
/* extension shell command