From 528b5dbfdc4e3a475081cdd550668fed33afc847 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 9 Jan 2021 13:58:37 -0500 Subject: fix qutebrowser, bat, and urxvt for theme switching --- linux.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux.nix') diff --git a/linux.nix b/linux.nix index 12e579b..7e6a775 100644 --- a/linux.nix +++ b/linux.nix @@ -395,7 +395,9 @@ in qutebrowser = { enable = true; settings = { - "colors.webpage.darkmode.enabled" = true; + "colors.webpage.darkmode.enabled" = + if theme == "dark" then true else false; + "content.user_stylesheets" = "~/.userstyles.css"; # generated in lib/common.nix # attempting to fix gl rendering -- cgit v1.2.3