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