Configured xdg dirs

This commit is contained in:
Emmet 2023-05-29 09:31:40 -05:00
parent fad7ed13fc
commit 13dc386f9f
2 changed files with 25 additions and 1 deletions

View file

@ -23,7 +23,7 @@
system = "x86_64-linux";
name = "emmet";
email = "librephoenix@protonmail.com";
dotfilesDir = "~/dotfiles";
dotfilesDir = "~/.dotfiles";
theme = "ayu-dark";
themePolarity = "dark";
backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt";

View file

@ -153,6 +153,30 @@
services.syncthing.enable = true;
xdg.enable = true;
xdg.userDirs = {
enable = true;
createDirectories = true;
music = "${config.home.homeDirectory}/Media/Music";
videos = "${config.home.homeDirectory}/Media/Videos";
pictures = "${config.home.homeDirectory}/Media/Pictures";
templates = "${config.home.homeDirectory}/Templates";
download = "${config.home.homeDirectory}/Downloads";
documents = "${config.home.homeDirectory}/Documents";
desktop = null;
publicShare = null;
extraConfig = {
XDG_DOTFILES_DIR = "${config.home.homeDirectory}/.dotfiles";
XDG_ARCHIVE_DIR = "${config.home.homeDirectory}/Archive";
XDG_VM_DIR = "${config.home.homeDirectory}/Machines";
XDG_ORG_DIR = "${config.home.homeDirectory}/Org";
XDG_GAME_DIR = "${config.home.homeDirectory}/Media/Games";
XDG_GAME_SAVE_DIR = "${config.home.homeDirectory}/Media/Game Saves";
XDG_PODCAST_DIR = "${config.home.homeDirectory}/Media/Podcasts";
XDG_BOOK_DIR = "${config.home.homeDirectory}/Media/Books";
};
};
home.file.".librewolf/librewolf.overrides.cfg".text = ''
defaultPref("font.name.serif.x-western","Inconsolata");
defaultPref("font.size.variable.x-western",20);