lowercase directories and nix-index

This commit is contained in:
Noah Masur 2022-05-08 20:49:42 -04:00
parent ed2b61b03f
commit cc974cb013
6 changed files with 26 additions and 3 deletions

View File

@ -31,7 +31,7 @@
gitEmail = "7386960+nmasur@users.noreply.github.com"; gitEmail = "7386960+nmasur@users.noreply.github.com";
gui = { gui = {
colorscheme = (import ./modules/colorscheme/gruvbox); colorscheme = (import ./modules/colorscheme/gruvbox);
wallpaper = ../../../Downloads/nix.jpg; wallpaper = ../../../downloads/nix.jpg;
gtkTheme = "Adwaita-dark"; gtkTheme = "Adwaita-dark";
}; };
}; };

View File

@ -68,6 +68,7 @@
label-urgent = "%name%"; label-urgent = "%name%";
label-urgent-foreground = config.gui.colorscheme.base00; label-urgent-foreground = config.gui.colorscheme.base00;
label-urgent-background = config.gui.colorscheme.base08; label-urgent-background = config.gui.colorscheme.base08;
label-urgent-underline = config.gui.colorscheme.base0F;
label-urgent-padding = padding; label-urgent-padding = padding;
}; };
"module/xworkspaces" = { "module/xworkspaces" = {

View File

@ -21,7 +21,7 @@ end
find_downloads = function() find_downloads = function()
local opts = { local opts = {
prompt_title = "Find Downloads", prompt_title = "Find Downloads",
cwd = "~/Downloads", cwd = "~/downloads",
} }
require("telescope").extensions.file_browser.file_browser(opts) require("telescope").extensions.file_browser.file_browser(opts)
end end

View File

@ -25,4 +25,3 @@
}; };
}; };
} }

View File

@ -140,5 +140,12 @@
programs.zoxide.enableFishIntegration = true; programs.zoxide.enableFishIntegration = true;
programs.fzf.enableFishIntegration = true; programs.fzf.enableFishIntegration = true;
# Provides "command-not-found" options
# Requires activating a manual download
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
}; };
} }

View File

@ -32,6 +32,22 @@
}; };
home-manager.users.${config.user}.xdg = {
userDirs = {
enable = true;
createDirectories = true;
documents = "$HOME/documents";
download = "$HOME/downloads";
music = "$HOME/media/music";
pictures = "$HOME/media/images";
videos = "$HOME/media/videos";
desktop = "$HOME/other/desktop";
publicShare = "$HOME/other/public";
templates = "$HOME/other/templates";
extraConfig = { XDG_DEV_DIR = "$HOME/dev"; };
};
};
}; };
} }