From d8b16bacf3de7ba1c289fc7d51bca8e4dd02dd79 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 5 Dec 2024 04:49:59 +0000 Subject: [PATCH] firefox: user.js: enable the downloads button in UI --- hosts/common/programs/firefox/user.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/firefox/user.js b/hosts/common/programs/firefox/user.js index d84da5b7b..8d1a34b19 100644 --- a/hosts/common/programs/firefox/user.js +++ b/hosts/common/programs/firefox/user.js @@ -83,7 +83,7 @@ defaultPref("sidebar.visibility", "hide-sidebar"); defaultPref("browser.uiCustomization.state", `{ "placements":{ "unified-extensions-area": ["browserpass_maximbaz_com-browser-action","ublock0_raymondhill_net-browser-action","sponsorblocker_ajay_app-browser-action","magnolia_12_34-browser-action"], - "nav-bar":["firefox-view-button","sidebar-button","sidebar-button","stop-reload-button","back-button","forward-button","urlbar-container","unified-extensions-button"] + "nav-bar":["firefox-view-button","sidebar-button","sidebar-button","stop-reload-button","back-button","forward-button","urlbar-container","unified-extensions-button","downloads-button"] }, "currentVersion":20 }`); @@ -92,6 +92,10 @@ defaultPref("browser.uiCustomization.state", `{ // 2 to show the window close button (default) defaultPref("browser.tabs.inTitlebar", 0); +// TODO: don't hardcode `colin` +defaultPref("browser.download.lastDir", "/home/colin/tmp"); +// defaultPref("browser.download.autohideButton", false); //< optional, to always show DL button + // auto-open specific URI schemes without prompting: defaultPref("network.protocol-handler.external.xdg-open", true); // for firefox-xdg-open extension defaultPref("network.protocol-handler.external.mpv", true); // for open-in-mpv extension