aboutsummaryrefslogtreecommitdiff
path: root/home-manager/homeModules/zen-browser.nix
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-10-27 23:40:25 +0300
committerspl3g <spleefer6@yandex.ru>2025-10-27 23:40:25 +0300
commit3ac3426144afa5eff1bb2551e27026c1cd0f2ca4 (patch)
treee9840b941bd5644f55a7195384514f60c8f8fcbb /home-manager/homeModules/zen-browser.nix
parent779b5575a70de4b29f7c674739108c640c172be0 (diff)
feat(zen): add asociations
Diffstat (limited to 'home-manager/homeModules/zen-browser.nix')
-rw-r--r--home-manager/homeModules/zen-browser.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/home-manager/homeModules/zen-browser.nix b/home-manager/homeModules/zen-browser.nix
index 3d90b97..5de071f 100644
--- a/home-manager/homeModules/zen-browser.nix
+++ b/home-manager/homeModules/zen-browser.nix
@@ -13,7 +13,30 @@
stylix.targets.zen-browser.profileNames = [ "ZZZ" ];
xdg.mimeApps = {
enable = true;
+ associations.added = {
+ "x-scheme-handler/http" = "zen-beta.desktop";
+ "x-scheme-handler/https" = "zen-beta.desktop";
+ "x-scheme-handler/chrome" = "zen-beta.desktop";
+ "text/html" = "zen-beta.desktop";
+ "application/x-extension-htm" = "zen-beta.desktop";
+ "application/x-extension-html" = "zen-beta.desktop";
+ "application/x-extension-shtml" = "zen-beta.desktop";
+ "application/xhtml+xml" = "zen-beta.desktop";
+ "application/x-extension-xhtml" = "zen-beta.desktop";
+ "application/x-extension-xht" = "zen-beta.desktop";
+ };
+
defaultApplications = {
+ "x-scheme-handler/http" = "zen-beta.desktop";
+ "x-scheme-handler/https" = "zen-beta.desktop";
+ "x-scheme-handler/chrome" = "zen-beta.desktop";
+ "text/html" = "zen-beta.desktop";
+ "application/x-extension-htm" = "zen-beta.desktop";
+ "application/x-extension-html" = "zen-beta.desktop";
+ "application/x-extension-shtml" = "zen-beta.desktop";
+ "application/xhtml+xml" = "zen-beta.desktop";
+ "application/x-extension-xhtml" = "zen-beta.desktop";
+ "application/x-extension-xht" = "zen-beta.desktop";
"application/pdf" = "zen-beta.desktop";
};
};