From 4e3e9c4df62fb821b52e99c5aed8f519832a8554 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Wed, 12 Nov 2025 18:58:17 +0100 Subject: [PATCH] fix qutebrowser as default --- configuration.nix | 2 +- home.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index ea2bf37..86ad2fe 100644 --- a/configuration.nix +++ b/configuration.nix @@ -561,7 +561,7 @@ in "application/pdf" = "org.pwmt.zathura.desktop"; "image/png" = "feh.desktop"; "image/jpeg" = "feh.desktop"; - "text/html" = "org.qutebrowser.qutebrowser.desktop"; + "text/html" = "qutebrowser-new.desktop"; "x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop"; "x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop"; }; diff --git a/home.nix b/home.nix index 4bd29be..39b9245 100644 --- a/home.nix +++ b/home.nix @@ -114,6 +114,14 @@ in ".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ"; ".config/nushell/themes".source = home/config/nushell/themes; ".config/nushell/quitcd".source = home/config/nushell/quitcd; + ".local/share/applications/qutebrowser-new.desktop".text = '' + [Desktop Entry] + Name=Qutebrowser New Window + Exec=qutebrowser --target window %u + Type=Application + MimeType=text/html + Icon=qutebrowser + ''; }; home.sessionVariables = {