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];
|
||||
};
|
||||
opener = {
|
||||
anki = [
|
||||
{
|
||||
run = "anki \"$@\"";
|
||||
desc = "Open with Anki";
|
||||
}
|
||||
];
|
||||
pdf = [
|
||||
{
|
||||
run = "zathura \"$@\"";
|
||||
@@ -105,7 +111,11 @@ in {
|
||||
];
|
||||
};
|
||||
open = {
|
||||
rules = [
|
||||
prepend_rules = [
|
||||
{
|
||||
name = "*.{apkg,colpkg}";
|
||||
use = "anki";
|
||||
}
|
||||
{
|
||||
mime = "application/pdf";
|
||||
use = "pdf";
|
||||
|
||||
Reference in New Issue
Block a user