2022-07-15 13:11:54 +02:00
|
|
|
{ config
|
|
|
|
, lib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.my.programs.zathura;
|
|
|
|
in
|
|
|
|
{
|
2022-10-15 20:00:09 +02:00
|
|
|
options.my.programs.zathura.enable = mkEnableOption "zathura";
|
2022-07-15 13:11:54 +02:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home-manager.users.moritz.programs.zathura = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
recolor = true;
|
|
|
|
adjust-open = "width";
|
|
|
|
font = "Jetbrains Mono 9";
|
|
|
|
selection-clipboard = "clipboard";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|