Set Zathura settings

This commit is contained in:
Jan-Bulthuis 2024-12-02 00:56:31 +01:00
parent b2c15706c0
commit f8ba5af5ac
1 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@
let
cfg = config.modules.zathura;
colors = config.theming.colors;
in
{
options.modules.zathura.enable = lib.mkEnableOption "zathura";
@ -17,6 +18,18 @@ in
options = {
guioptions = "none";
recolor = true;
recolor-keephue = false;
recolor-darkcolor = lib.mkForce "#${colors.accent}";
recolor-lightcolor = lib.mkForce "#${colors.bg}";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = "zathura";
};
};
};