[desktop] Set Librewolf as the default browser.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
"$terminal" = "foot";
|
"$terminal" = "foot";
|
||||||
"$menu" = "rofi -show combi -combi-modes drun,ssh,run -theme ~/.config/rofi/launcher/style.rasi";
|
"$menu" = "rofi -show combi -combi-modes drun,ssh,run -theme ~/.config/rofi/launcher/style.rasi";
|
||||||
"$browser" = "firefox";
|
"$browser" = "librewolf";
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"nm-applet"
|
"nm-applet"
|
||||||
|
|||||||
@@ -83,4 +83,16 @@
|
|||||||
platformTheme.name = "adwaita";
|
platformTheme.name = "adwaita";
|
||||||
style.name = "adwaita-dark";
|
style.name = "adwaita-dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Default apps
|
||||||
|
xdg.mime.enable = true;
|
||||||
|
xdg.mimeApps.defaultApplications = {
|
||||||
|
"text/html" = [ "librewolf.desktop" ];
|
||||||
|
"default-web-browser" = [ "librewolf.desktop" ];
|
||||||
|
"x-scheme-handler/http" = [ "librewolf.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "librewolf.desktop" ];
|
||||||
|
"x-scheme-handler/about" = [ "librewolf.desktop" ];
|
||||||
|
"x-scheme-handler/unknown" = [ "librewolf.desktop" ];
|
||||||
|
};
|
||||||
|
environment.sessionVariables.DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user