Autogenderate XDG Dirs

This commit is contained in:
Jimbo 2024-11-24 09:55:02 -05:00
parent 28d611ae12
commit 87a53e364f
17 changed files with 126 additions and 258 deletions

View file

@ -1,11 +1,7 @@
{ ... }:
{
xdg.mimeApps.defaultApplications = {
"inode/directory" = [ "pcmanfm-qt.desktop" ];
"text/plain" = [ "nvim.desktop" ];
"image/png" = [ "imv.desktop" ];
"image/jpeg" = [ "imv.desktop" ];
"image/jp2" = [ "imv.desktop" ];
"video/*" = [ "mpv.desktop" ];
};
imports = [
./defaults
./folders
];
}

View file

@ -0,0 +1,11 @@
{ ... }:
{
xdg.mimeApps.defaultApplications = {
"inode/directory" = [ "pcmanfm-qt.desktop" ];
"text/plain" = [ "nvim.desktop" ];
"image/png" = [ "imv.desktop" ];
"image/jpeg" = [ "imv.desktop" ];
"image/jp2" = [ "imv.desktop" ];
"video/*" = [ "mpv.desktop" ];
};
}

View file

@ -0,0 +1,11 @@
{ ... }:
{
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = null;
music = null;
publicShare = null;
templates = null;
};
}