1
Fork 0
satellite/home/features/desktop/zathura.nix

26 lines
598 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2023-03-12 05:24:25 +01:00
let base16-zathura = config.lib.stylix.colors {
templateRepo = pkgs.fetchFromGitHub {
owner = "doenerkebap";
repo = "base16-zathura";
sha256 = "1zcrzll13d4lmyzibwdqkkdssyhr3c9s4yxhqigg3azsizk8adb4";
rev = "2caef8fff6a5412e05950c6105c5020a6f16ead2";
};
};
in
{
programs.zathura = {
enable = true;
extraConfig = ''
# Generated theme
include ${base16-zathura}
# Open document in fit-width mode by default
set adjust-open "best-fit"
# Inject font
2023-03-12 05:24:25 +01:00
set font "${config.stylix.fonts.sansSerif.name}"
'';
};
}