2024-07-03 07:15:39 +01:00
|
|
|
let
|
2024-07-30 15:06:34 +01:00
|
|
|
emacs = [
|
|
|
|
"emacsclient.desktop"
|
|
|
|
"emacs.desktop"
|
|
|
|
];
|
|
|
|
browser = [
|
|
|
|
"firefox.desktop"
|
|
|
|
"librewolf.desktop"
|
|
|
|
"nyxt.desktop"
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
"inode/directory" = [ "thunar.desktop" ];
|
|
|
|
"inode/symlink" = [ "thunar.desktop" ];
|
2024-07-03 07:15:39 +01:00
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
"image/jpeg" = [ "swayimg.desktop" ];
|
|
|
|
"image/png" = [ "swayimg.desktop" ];
|
|
|
|
"video/mp4" = [ "mpv.desktop" ];
|
2024-07-03 07:15:39 +01:00
|
|
|
|
|
|
|
"text/plain" = emacs;
|
|
|
|
"text/richtext" = emacs;
|
|
|
|
"text/org" = emacs;
|
|
|
|
"text/markdown" = emacs;
|
|
|
|
"text/rust" = emacs;
|
|
|
|
"text/csv" = emacs;
|
|
|
|
"text/html" = emacs;
|
|
|
|
"text/css" = emacs;
|
|
|
|
"text/tab-separated-values" = emacs;
|
|
|
|
|
|
|
|
"text/x-emacs-lisp" = emacs;
|
|
|
|
"text/x-fortran" = emacs;
|
|
|
|
"text/x-idl" = emacs;
|
|
|
|
"text/x-log" = emacs;
|
|
|
|
"text/x-lua" = emacs;
|
|
|
|
"text/x-makefile" = emacs;
|
|
|
|
"text/x-cmake" = emacs;
|
|
|
|
"text/x-python" = emacs;
|
|
|
|
"text/x-python3" = emacs;
|
|
|
|
"text/x-readme" = emacs;
|
|
|
|
"text/x-scheme" = emacs;
|
|
|
|
"text/x-tex" = emacs;
|
|
|
|
"text/x-texinfo" = emacs;
|
|
|
|
|
|
|
|
"application/json" = emacs;
|
|
|
|
"application/toml" = emacs;
|
|
|
|
"application/yaml" = emacs;
|
|
|
|
"application/xml" = emacs;
|
|
|
|
"application/rss+xml" = emacs;
|
|
|
|
"application/xhtml+xml" = emacs;
|
|
|
|
"application/oxps" = emacs;
|
|
|
|
"application/x-shellscript" = emacs;
|
|
|
|
"application/x-docbook+xml" = emacs;
|
|
|
|
"application/x-yaml" = emacs;
|
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
"application/pdf" = [ "evince.desktop" ];
|
|
|
|
"application/epub+zip" = [ "evince.desktop" ];
|
|
|
|
"application/msword" = [ "writer.desktop" ];
|
|
|
|
"application/zip" = [ "xarchiver.desktop" ];
|
2024-07-03 07:15:39 +01:00
|
|
|
|
|
|
|
"application/x-extension-htm" = browser;
|
|
|
|
"application/x-extension-html" = browser;
|
|
|
|
"application/x-extension-shtml" = browser;
|
|
|
|
"application/x-extension-xhtml" = browser;
|
|
|
|
"application/x-extension-xht" = browser;
|
|
|
|
"application/x-mozilla-bookmarks" = browser;
|
2024-07-30 15:06:34 +01:00
|
|
|
"application/x-zoom" = [ "Zoom.desktop" ] ++ browser;
|
2024-07-03 07:15:39 +01:00
|
|
|
|
|
|
|
"x-scheme-handler/http" = browser;
|
|
|
|
"x-scheme-handler/https" = browser;
|
|
|
|
"x-scheme-handler/about" = browser;
|
|
|
|
"x-scheme-handler/chrome" = browser;
|
|
|
|
"x-scheme-handler/webcal" = browser;
|
2024-07-30 15:06:34 +01:00
|
|
|
"x-scheme-handler/geo" = [ "openstreetmap-geo-handler.desktop" ];
|
|
|
|
"x-scheme-handler/mailto" = [ "emacsclient-mail.desktop" ];
|
2024-07-03 07:15:39 +01:00
|
|
|
"x-scheme-handler/unknown" = emacs;
|
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
"x-scheme-handler/prusaslicer" = [ "PrusaSlicerURLProtocol.desktop" ];
|
2024-07-03 07:15:39 +01:00
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
"x-scheme-handler/ms-word" = [ "writer.desktop" ];
|
|
|
|
"x-scheme-handler/ms-powerpoint" = [ "impress.desktop" ];
|
|
|
|
"x-scheme-handler/ms-excel" = [ "calc.desktop" ];
|
|
|
|
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ] ++ browser;
|
2024-07-08 08:58:32 +01:00
|
|
|
"x-scheme-handler/zoomus" = browser;
|
|
|
|
"x-scheme-handler/zoommtg" = browser;
|
2024-07-03 07:15:39 +01:00
|
|
|
}
|