Add a xdg-mime type for directories

This commit is contained in:
Alexander Bantyev 2021-11-15 13:16:26 +03:00
parent 32793b47cc
commit d9ba4be85e
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -22,6 +22,7 @@
defaultApplications = with config.defaultApplications;
builtins.mapAttrs (name: value:
if value ? desktop then [ "${value.desktop}.desktop" ] else value) {
"inode/directory" = fm;
"text/html" = browser;
"image/*" = { desktop = "org.gnome.eog"; };
"application/zip" = archive;