137 lines
4.8 KiB
Nix
137 lines
4.8 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
xdg.mime.enable = true;
|
|
xdg.mime.defaultApplications = {
|
|
# Browser
|
|
"x-scheme-handler/http" = "vivaldi-stable.desktop";
|
|
"application/xhtml+xml" = "vivaldi-stable.desktop";
|
|
"text/html" = "vivaldi-stable.desktop";
|
|
"x-scheme-handler/https" = "vivaldi-stable.desktop";
|
|
"application/pdf" = "vivaldi-stable.desktop";
|
|
|
|
# Audio
|
|
"audio/aiff" = "mpv.desktop";
|
|
"audio/basic" = "mpv.desktop";
|
|
"audio/it" = "mpv.desktop";
|
|
"audio/make" = "mpv.desktop";
|
|
"audio/make.my.funk" = "mpv.desktop";
|
|
"audio/mid" = "mpv.desktop";
|
|
"audio/midi" = "mpv.desktop";
|
|
"audio/mod" = "mpv.desktop";
|
|
"audio/mpeg" = "mpv.desktop";
|
|
"audio/mpeg3" = "mpv.desktop";
|
|
"audio/nspaudio" = "mpv.desktop";
|
|
"audio/s3m" = "mpv.desktop";
|
|
"audio/tsp-audio" = "mpv.desktop";
|
|
"audio/tsplayer" = "mpv.desktop";
|
|
"audio/vnd.qcelp" = "mpv.desktop";
|
|
"audio/voc" = "mpv.desktop";
|
|
"audio/voxware" = "mpv.desktop";
|
|
"audio/wav" = "mpv.desktop";
|
|
"audio/x-adpcm" = "mpv.desktop";
|
|
"audio/x-aiff" = "mpv.desktop";
|
|
"audio/x-au" = "mpv.desktop";
|
|
"audio/x-gsm" = "mpv.desktop";
|
|
"audio/x-jam" = "mpv.desktop";
|
|
"audio/x-liveaudio" = "mpv.desktop";
|
|
"audio/x-mid" = "mpv.desktop";
|
|
"audio/x-midi" = "mpv.desktop";
|
|
"audio/x-mod" = "mpv.desktop";
|
|
"audio/x-mpeg" = "mpv.desktop";
|
|
"audio/x-mpeg-3" = "mpv.desktop";
|
|
"audio/x-mpequrl" = "mpv.desktop";
|
|
"audio/x-nspaudio" = "mpv.desktop";
|
|
"audio/x-pn-realaudio" = "mpv.desktop";
|
|
"audio/x-pn-realaudio-plugin" = "mpv.desktop";
|
|
"audio/x-psid" = "mpv.desktop";
|
|
"audio/x-realaudio" = "mpv.desktop";
|
|
"audio/x-twinvq" = "mpv.desktop";
|
|
"audio/x-twinvq-plugin" = "mpv.desktop";
|
|
"audio/x-vnd.audioexplosion.mjuicemediafile" = "mpv.desktop";
|
|
"audio/x-voc" = "mpv.desktop";
|
|
"audio/x-wav" = "mpv.desktop";
|
|
"audio/xm" = "mpv.desktop";
|
|
|
|
# Video
|
|
"video/animaflex" = "mpv.desktop";
|
|
"video/avi" = "mpv.desktop";
|
|
"video/avs-video" = "mpv.desktop";
|
|
"video/dl" = "mpv.desktop";
|
|
"video/fli" = "mpv.desktop";
|
|
"video/gl" = "mpv.desktop";
|
|
"video/mpeg" = "mpv.desktop";
|
|
"video/msvideo" = "mpv.desktop";
|
|
"video/quicktime" = "mpv.desktop";
|
|
"video/vdo" = "mpv.desktop";
|
|
"video/vivo" = "mpv.desktop";
|
|
"video/vnd.rn-realvideo" = "mpv.desktop";
|
|
"video/vnd.vivo" = "mpv.desktop";
|
|
"video/vosaic" = "mpv.desktop";
|
|
"video/x-amt-demorun" = "mpv.desktop";
|
|
"video/x-amt-showrun" = "mpv.desktop";
|
|
"video/x-atomic3d-feature" = "mpv.desktop";
|
|
"video/x-dl" = "mpv.desktop";
|
|
"video/x-dv" = "mpv.desktop";
|
|
"video/x-fli" = "mpv.desktop";
|
|
"video/x-gl" = "mpv.desktop";
|
|
"video/x-isvideo" = "mpv.desktop";
|
|
"video/x-motion-jpeg" = "mpv.desktop";
|
|
"video/x-mpeg" = "mpv.desktop";
|
|
"video/x-mpeq2a" = "mpv.desktop";
|
|
"video/x-ms-asf" = "mpv.desktop";
|
|
"video/x-ms-asf-plugin" = "mpv.desktop";
|
|
"video/x-msvideo" = "mpv.desktop";
|
|
"video/x-qtc" = "mpv.desktop";
|
|
"video/x-scm" = "mpv.desktop";
|
|
"video/x-sgi-movie" = "mpv.desktop";
|
|
|
|
# Image
|
|
"image/bmp" = "qimgv.desktop";
|
|
"image/cmu-raster" = "qimgv.desktop";
|
|
"image/fif" = "qimgv.desktop";
|
|
"image/florian" = "qimgv.desktop";
|
|
"image/g3fax" = "qimgv.desktop";
|
|
"image/gif" = "qimgv.desktop";
|
|
"image/ief" = "qimgv.desktop";
|
|
"image/jpeg" = "qimgv.desktop";
|
|
"image/jutvision" = "qimgv.desktop";
|
|
"image/naplps" = "qimgv.desktop";
|
|
"image/pict" = "qimgv.desktop";
|
|
"image/pjpeg" = "qimgv.desktop";
|
|
"image/png" = "qimgv.desktop";
|
|
"image/tiff" = "qimgv.desktop";
|
|
"image/vasa" = "qimgv.desktop";
|
|
"image/vnd.dwg" = "qimgv.desktop";
|
|
"image/vnd.fpx" = "qimgv.desktop";
|
|
"image/vnd.net-fpx" = "qimgv.desktop";
|
|
"image/vnd.rn-realflash" = "qimgv.desktop";
|
|
"image/vnd.rn-realpix" = "qimgv.desktop";
|
|
"image/vnd.wap.wbmp" = "qimgv.desktop";
|
|
"image/vnd.xiff" = "qimgv.desktop";
|
|
"image/x-cmu-raster" = "qimgv.desktop";
|
|
"image/x-dwg" = "qimgv.desktop";
|
|
"image/x-icon" = "qimgv.desktop";
|
|
"image/x-jg" = "qimgv.desktop";
|
|
"image/x-jps" = "qimgv.desktop";
|
|
"image/x-niff" = "qimgv.desktop";
|
|
"image/x-pcx" = "qimgv.desktop";
|
|
"image/x-pict" = "qimgv.desktop";
|
|
"image/x-portable-anymap" = "qimgv.desktop";
|
|
"image/x-portable-bitmap" = "qimgv.desktop";
|
|
"image/x-portable-graymap" = "qimgv.desktop";
|
|
"image/x-portable-greymap" = "qimgv.desktop";
|
|
"image/x-portable-pixmap" = "qimgv.desktop";
|
|
"image/x-quicktime" = "qimgv.desktop";
|
|
"image/x-rgb" = "qimgv.desktop";
|
|
"image/x-tiff" = "qimgv.desktop";
|
|
"image/x-windows-bmp" = "qimgv.desktop";
|
|
"image/x-xbitmap" = "qimgv.desktop";
|
|
"image/x-xbm" = "qimgv.desktop";
|
|
"image/x-xpixmap" = "qimgv.desktop";
|
|
"image/x-xwd" = "qimgv.desktop";
|
|
"image/x-xwindowdump" = "qimgv.desktop";
|
|
"image/xbm" = "qimgv.desktop";
|
|
"image/xpm" = "qimgv.desktop";
|
|
};
|
|
}
|