updated xdg-mime.nix - hopefully fixed xdg fuckery

This commit is contained in:
serenity-F 2024-12-27 19:30:32 +10:00
parent dd9ceab542
commit c82bf85e4c

View file

@ -12,38 +12,18 @@
added = {
## General
"inode/directory" = [ "yazi.desktop" ];
"image/gif" = [ "swayimg.desktop" ];
"image/png" = [ "swayimg.desktop" ];
"image/jpg" = [ "swayimg.desktop" ];
"image/jpeg" = [ "swayimg.desktop" ];
"image/webp" = [ "swayimg.desktop" ];
"audio/*" = [ "strawberry.desktop" ];
"video/*" = [ "vlc.desktop" ];
"text/plain" = [ "nvim.desktop" ];
"text/markdown" = [ "nvim.desktop" ];
"application/pdf" = [ "zathura.desktop" ];
"application/zip" = [ "org.gnome.FileRoller.desktop" ];
## Web
"text/css" = [ "nvim.desktop" ];
"text/html" = [ "nvim.desktop" ];
"application/json" = [ "firefox.desktop" ];
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
## Code
"text/x-shellscript" = [ "nvim.desktop" ];
"text/x-xml" = [ "nvim.desktop" ];
"text/x-yaml" = [ "nvim.desktop" ];
"text/x-toml" = [ "nvim.desktop" ];
"text/x-nix" = [ "nvim.desktop" ];
"text/x-rust" = [ "nvim.desktop" ];
"text/x-python" = [ "nvim.desktop" ];
};
};
defaultApplications = {
## General
"inode/directory" = [ "yazi.desktop" ];
"image/*" = [ "swayimg.desktop" ];
"image/gif" = [ "swayimg.desktop" ];
"image/png" = [ "swayimg.desktop" ];
"image/jpg" = [ "swayimg.desktop" ];
"image/jpeg" = [ "swayimg.desktop" ];
"image/webp" = [ "swayimg.desktop" ];
"audio/*" = [ "strawberry.desktop" ];
"video/*" = [ "vlc.desktop" ];
"text/plain" = [ "nvim.desktop" ];