diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-10 03:04:54 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-10 03:04:54 -0400 |
| commit | ddf526713d0f82f001d8d59c5af8876d0c1753fe (patch) | |
| tree | ee30f65401d8d2d6eed3b9a6743b4dcb9ef4ed6e /modules/qutebrowser/default.nix | |
| parent | 8d1e930ce093cf03beef8b03aa32b2c1cde8a432 (diff) | |
| download | home-ddf526713d0f82f001d8d59c5af8876d0c1753fe.tar.gz | |
update
Diffstat (limited to 'modules/qutebrowser/default.nix')
| -rw-r--r-- | modules/qutebrowser/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/qutebrowser/default.nix b/modules/qutebrowser/default.nix index 46c3ddf..6a0628c 100644 --- a/modules/qutebrowser/default.nix +++ b/modules/qutebrowser/default.nix @@ -1,10 +1,11 @@ { config, lib, pkgs, inputs, ... }: let cfg = config.modules.qutebrowser; + scheme = config.modules.scheme; in { options.modules.qutebrowser = { - enable = lib.mkEnableOption "sway"; + enable = lib.mkEnableOption "qutebrowser"; wrapWithNixGL = lib.mkEnableOption "NixGL Wrapper"; }; @@ -12,7 +13,13 @@ in programs.qutebrowser = lib.mkIf cfg.enable { enable = true; package = if cfg.wrapWithNixGL then config.lib.nixGL.wrap pkgs.qutebrowser else pkgs.qutebrowser; - loadAutoconfig = true; + loadAutoconfig = false; + extraConfig = '' + ${builtins.readFile ./config.py} + c.colors.completion.category.bg = "${scheme.base00}"; + c.colors.completion.category.border.top = "${scheme.base00}"; + c.colors.completion.category.border.bottom = "${scheme.base00}"; + ''; }; }; } |