fix(yazi): can open non-assigned extensions again
needed to change a few lines to enable defaults again.
This commit is contained in:
+11
-1
@@ -93,6 +93,12 @@ in {
|
|||||||
image_bound = [10000 10000];
|
image_bound = [10000 10000];
|
||||||
};
|
};
|
||||||
opener = {
|
opener = {
|
||||||
|
anki = [
|
||||||
|
{
|
||||||
|
run = "anki \"$@\"";
|
||||||
|
desc = "Open with Anki";
|
||||||
|
}
|
||||||
|
];
|
||||||
pdf = [
|
pdf = [
|
||||||
{
|
{
|
||||||
run = "zathura \"$@\"";
|
run = "zathura \"$@\"";
|
||||||
@@ -105,7 +111,11 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
open = {
|
open = {
|
||||||
rules = [
|
prepend_rules = [
|
||||||
|
{
|
||||||
|
name = "*.{apkg,colpkg}";
|
||||||
|
use = "anki";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
mime = "application/pdf";
|
mime = "application/pdf";
|
||||||
use = "pdf";
|
use = "pdf";
|
||||||
|
|||||||
Reference in New Issue
Block a user