summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.nix6
-rw-r--r--linux.nix4
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/common.nix b/lib/common.nix
index bdf294c..affb979 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -15,7 +15,7 @@ in
LC_ALL = locale;
LANGUAGE = locale;
PATH = "${homedir}/bin:${homedir}/.local/bin:$PATH";
- PAGER = "${pkgs.bat}/bin/bat";
+ PAGER = "${pkgs.bat}/bin/bat --theme=ansi-$(cat ~/.local/share/xtheme)";
LEDGER_FILE = "${homedir}/.hledger.journal";
XTERM_LOCALE = locale;
PYTHONSTARTUP = "${homedir}/.pythonrc";
@@ -128,8 +128,8 @@ in
"xfg:Noto Emoji"
];
iso14755 = true; # unicode chars
- transparent = true;
- shading = 10;
+ #transparent = true;
+ #shading = 10;
};
ssh = {
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