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

@@ -73,6 +73,11 @@
wallpaper = "Obrazy/tapety/catppuccin"; wallpaper = "Obrazy/tapety/catppuccin";
screenshot = "Obrazy/zrzuty/"; screenshot = "Obrazy/zrzuty/";
obsidian = "Dokumenty/obsidian"; obsidian = "Dokumenty/obsidian";
projects = "Kodowanie";
documents = "Dokumenty";
pictures = "Obrazy";
downloads = "Pobrane";
video = "Video";
}; };
isNixOS = true; isNixOS = true;

View File

@@ -1,4 +1,4 @@
{ ... }: { userConfig, ... }:
{ {
programs.yazi = { programs.yazi = {
@@ -37,6 +37,64 @@
"yank" "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 = "";
}
]; ];
}; };
} }