feat(yazi): added open with options
This commit is contained in:
@@ -92,6 +92,26 @@ in {
|
|||||||
tasks = {
|
tasks = {
|
||||||
image_bound = [10000 10000];
|
image_bound = [10000 10000];
|
||||||
};
|
};
|
||||||
|
opener = {
|
||||||
|
pdf = [
|
||||||
|
{
|
||||||
|
run = "zathura \"$@\"";
|
||||||
|
desc = "Open with Zathura";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
run = "firefox \"$@\"";
|
||||||
|
desc = "Open with Firefox";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
open = {
|
||||||
|
rules = [
|
||||||
|
{
|
||||||
|
mime = "application/pdf";
|
||||||
|
use = "pdf";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user