diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-18 09:26:38 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-18 09:26:38 -0800 |
commit | 9be9dc863015f482d76b84a11fde839a61e5a4af (patch) | |
tree | fd6e1b273b8726ace190df3ce4cef1eeb483a4c2 /users | |
parent | pass: minor adjustments (diff) | |
download | world-9be9dc863015f482d76b84a11fde839a61e5a4af.tar.gz |
xdg: add default application
Diffstat (limited to 'users')
-rw-r--r-- | users/fcuny/desktop/xdg.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/users/fcuny/desktop/xdg.nix b/users/fcuny/desktop/xdg.nix index 44a5ce1..a932a61 100644 --- a/users/fcuny/desktop/xdg.nix +++ b/users/fcuny/desktop/xdg.nix @@ -10,6 +10,19 @@ mimeApps = { enable = true; + defaultApplications = + let defaultBrowser = "firefox.desktop"; + in { + "x-scheme-handler/http" = [ defaultBrowser ]; + "x-scheme-handler/https" = [ defaultBrowser ]; + "x-scheme-handler/chrome" = [ defaultBrowser ]; + "application/x-extension-htm" = [ defaultBrowser ]; + "application/x-extension-html" = [ defaultBrowser ]; + "application/x-extension-shtml" = [ defaultBrowser ]; + "application/xhtml+xml" = [ defaultBrowser ]; + "application/x-extension-xhtml" = [ defaultBrowser ]; + "application/x-extension-xht" = [ defaultBrowser ]; + }; }; userDirs = { |