summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-08 19:46:08 -0500
committerBen Sima <ben@bsima.me>2021-01-08 19:46:28 -0500
commit99b7ea2a85590d5bb497090de09ac6dd15fff6cf (patch)
tree26f3a6c30eea07aec6355df01169252cc19956e5
parentb4728c9b8fd362dd6efb8d0e57a3749a8a2e52ba (diff)
add userstyles for qutebrowser
-rw-r--r--lib/common.nix4
-rw-r--r--lib/userstyles.css3
-rw-r--r--linux.nix1
3 files changed, 8 insertions, 0 deletions
diff --git a/lib/common.nix b/lib/common.nix
index dce2ed3..4bb4b65 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -58,6 +58,10 @@ in
# source = ./lesskey;
# target = ".less";
#};
+ userstyles = {
+ source = ./userstyles.css;
+ target = ".userstyles.css";
+ };
};
};
diff --git a/lib/userstyles.css b/lib/userstyles.css
new file mode 100644
index 0000000..be33df9
--- /dev/null
+++ b/lib/userstyles.css
@@ -0,0 +1,3 @@
+input, input#hoogle
+{ background: transparent }
+
diff --git a/linux.nix b/linux.nix
index 446957c..12e579b 100644
--- a/linux.nix
+++ b/linux.nix
@@ -396,6 +396,7 @@ in
enable = true;
settings = {
"colors.webpage.darkmode.enabled" = true;
+ "content.user_stylesheets" = "~/.userstyles.css"; # generated in lib/common.nix
# attempting to fix gl rendering
"qt.force_software_rendering" = "qt-quick";