From e4a38ac2e5033829d8ee552b345a4fa8277f4cad Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 14 Jun 2024 10:47:42 +0200 Subject: [PATCH] librewolf: disable more cleanOnShutdowns --- .librewolf/librewolf.overrides.cfg | 8 +++++++- flake.lock | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.librewolf/librewolf.overrides.cfg b/.librewolf/librewolf.overrides.cfg index 652afe6..2c15f86 100644 --- a/.librewolf/librewolf.overrides.cfg +++ b/.librewolf/librewolf.overrides.cfg @@ -8,4 +8,10 @@ defaultPref("browser.sessionstore.resume_from_crash", false); // If enabled, fails with "Server is missing xdg_foreign support" on river and the GTK portal. defaultPref("widget.use-xdg-desktop-portal.file-picker", 0); -["cache", "cookies", "history"].forEach(s => defaultPref(`privacy.clearOnShutdown.${s}`, false)); +[ + "cache", "cookies", "history", "offlineApps", "sessions" +].forEach(s => defaultPref(`privacy.clearOnShutdown.${s}`, false)); + +[ + "cache", "cookiesAndStorage" +].forEach(s => defaultPref(`privacy.clearOnShutdown_v2.${s}`, false)) diff --git a/flake.lock b/flake.lock index 528079e..409ad87 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1717786204, - "narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=", + "lastModified": 1718160348, + "narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "051f920625ab5aabe37c920346e3e69d7d34400e", + "rev": "57d6973abba7ea108bac64ae7629e7431e0199b6", "type": "github" }, "original": {