niksos/homes/jacek/other/xdg/default.nix
2023-07-21 07:33:12 +02:00

50 lines
2.1 KiB
Nix

{
config,
pkgs,
...
}: {
config = {
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = [ "librewolf.desktop" ];
"x-scheme-handler/http" = [ "librewolf.desktop" ];
"x-scheme-handler/https" = [ "librewolf.desktop" ];
"x-scheme-handler/about" = [ "librewolf.desktop" ];
"x-scheme-handler/unknown" = [ "librewolf.desktop" ];
"x-scheme-handler/mailto" = [ "thunderbird.desktop" ];
"message/rfc822" = [ "thunderbird.desktop" ];
"x-scheme-handler/mid" = [ "thunderbird.desktop" ];
"inode/directory" = [ "thunar.desktop" ];
"x-scheme-handler/heroic" = [ "heroic.desktop" ];
"audio/mp3" = [ "mpv.desktop" ];
"audio/ogg" = [ "mpv.desktop" ];
"audio/mpeg" = [ "mpv.desktop" ];
"audio/aac" = [ "mpv.desktop" ];
"audio/opus" = [ "mpv.desktop" ];
"audio/wav" = [ "mpv.desktop" ];
"audio/webm" = [ "mpv.desktop" ];
"audio/3gpp" = [ "mpv.desktop" ];
"audio/3gpp2" = [ "mpv.desktop" ];
"video/mp4" = [ "mpv.desktop" ];
"video/x-msvideo" = [ "mpv.desktop" ];
"video/mpeg" = [ "mpv.desktop" ];
"video/ogg" = [ "mpv.desktop" ];
"video/mp2t" = [ "mpv.desktop" ];
"video/webm" = [ "mpv.desktop" ];
"video/3gpp" = [ "mpv.desktop" ];
"video/3gpp2" = [ "mpv.desktop" ];
"image/png" = [ "imv.desktop" ];
"image/jpeg" = [ "imv.desktop" ];
"image/gif" = [ "imv.desktop" ];
"image/avif" = [ "imv.desktop" ];
"image/bmp" = [ "imv.desktop" ];
"image/vnd.microsoft.icon" = [ "imv.desktop" ];
"image/svg+xml" = [ "imv.desktop" ];
"image/tiff" = [ "imv.desktop" ];
"image/webp" = [ "imv.desktop" ];
"text/plain" = [ "nvim.desktop" ];
};
};
};
}