From 50f1d5754346993f18521f247059f09bfc413742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 19 Feb 2023 19:41:48 -0300 Subject: [PATCH] qutebrowser: use only darkreader for darktheme --- user/qutebrowser/colors.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user/qutebrowser/colors.nix b/user/qutebrowser/colors.nix index 4dc2548..ff720fa 100644 --- a/user/qutebrowser/colors.nix +++ b/user/qutebrowser/colors.nix @@ -162,10 +162,10 @@ in bg = color.bg; preferred_color_scheme = "dark"; darkmode = { - enabled = true; + enabled = false; threshold = { - background = 256 / 2; - text = 256 / 2; + text = 150; + background = 205; }; }; }; @@ -173,7 +173,7 @@ in }; home.file = { # For some stupid reason qutebrowser crashes if this dir does not exist - ".config/qutebrowser/greasemonkey/darkreader.js".text = lib.optionalString (color.type == "dark" && false) '' + ".config/qutebrowser/greasemonkey/darkreader.js".text = lib.optionalString (color.type == "dark" && true) '' // ==UserScript== // @name Dark Reader (Unofficial) // @icon https://darkreader.org/images/darkreader-icon-256x256.png