mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-06-05 17:00:12 +02:00
fix: yazi
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -70,14 +70,14 @@
|
||||
statusBar = "ashell"; # available: ashell | waybar
|
||||
|
||||
pathConfig = {
|
||||
wallpaper = "Obrazy/tapety/catppuccin";
|
||||
screenshot = "Obrazy/zrzuty/";
|
||||
obsidian = "Dokumenty/obsidian";
|
||||
projects = "Kodowanie";
|
||||
documents = "Dokumenty";
|
||||
pictures = "Obrazy";
|
||||
downloads = "Pobrane";
|
||||
video = "Video";
|
||||
wallpaper = "Obrazy/tapety/catppuccin"; # relative to $HOME/
|
||||
screenshot = "Obrazy/zrzuty/"; # relative to $HOME/
|
||||
obsidian = "Dokumenty/obsidian"; # relative to $HOME/
|
||||
projects = "~/Kodowanie";
|
||||
documents = "~/Dokumenty";
|
||||
pictures = "~/Obrazy";
|
||||
downloads = "~/Pobrane";
|
||||
video = "~/Video";
|
||||
};
|
||||
|
||||
isNixOS = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ userConfig, ... }:
|
||||
{ userConfig, lib, ... }:
|
||||
|
||||
{
|
||||
programs.yazi = {
|
||||
@@ -73,28 +73,5 @@
|
||||
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 = "";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -52,12 +52,12 @@ in
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = null;
|
||||
documents = userConfig.pathConfig.documents;
|
||||
download = userConfig.pathConfig.downloads;
|
||||
documents = baseNameOf userConfig.pathConfig.documents;
|
||||
download = baseNameOf userConfig.pathConfig.downloads;
|
||||
music = null;
|
||||
pictures = userConfig.pathConfig.pictures;
|
||||
videos = userConfig.pathConfig.video;
|
||||
projects = userConfig.pathConfig.projects;
|
||||
pictures = baseNameOf userConfig.pathConfig.pictures;
|
||||
videos = baseNameOf userConfig.pathConfig.video;
|
||||
projects = baseNameOf userConfig.pathConfig.projects;
|
||||
templates = null;
|
||||
publicShare = null;
|
||||
setSessionVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user