update yazi

This commit is contained in:
2026-05-06 18:22:09 +02:00
parent b402858cd6
commit 5675c7e388
2 changed files with 64 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ userConfig, ... }:
{
programs.yazi = {
@@ -37,6 +37,64 @@
"yank"
];
}
{
on = [
"g"
"p"
];
run = "cd ${userConfig.pathConfig.downloads}";
}
{
on = [
"g"
"d"
];
run = "cd ${userConfig.pathConfig.documents}";
}
{
on = [
"g"
"v"
];
run = "cd ${userConfig.pathConfig.video}";
}
{
on = [
"g"
"o"
];
run = "cd ${userConfig.pathConfig.pictures}";
}
{
on = [
"g"
"k"
];
run = "cd ${userConfig.pathConfig.projects}";
}
];
theme.icon.prepend_dirs = [
{
name = userConfig.pathConfig.downloads;
text = "󰉍";
}
{
name = userConfig.pathConfig.documents;
text = "";
}
{
name = userConfig.pathConfig.video;
text = "󰕧";
}
{
name = userConfig.pathConfig.pictures;
text = "󰋩";
}
{
name = userConfig.pathConfig.projects;
text = "";
}
];
};
}