From 0b04d298ace08ecfc5c50236c0630546f04bf9c6 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Fri, 12 Aug 2022 22:19:21 -0300 Subject: [PATCH] fix qutebrowser crashing crashing when .local/share/qutebrowser/greasemonkey/ does not exist --- user/qutebrowser/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/qutebrowser/default.nix b/user/qutebrowser/default.nix index 14b4885..4a22991 100644 --- a/user/qutebrowser/default.nix +++ b/user/qutebrowser/default.nix @@ -228,7 +228,8 @@ in { # ''; }; home.file = { - # ".config/qutebrowser/config".source = ./config; + # For some stupid reason qutebrowser crashes if this dir does not exist + ".local/share/qutebrowser/greasemonkey/.keep".text = ""; ".config/qutebrowser/greasemonkey/darkreader.js".text = '' // ==UserScript== // @name Dark Reader (Unofficial)