nixos-config/profiles/applications/okular.nix

23 lines
606 B
Nix

{ pkgs, lib, config, ... }:
with (pkgs.my-lib.thmDec config.themes.colors); {
home-manager.users.balsoft = {
home.packages = [ pkgs.okular ];
xdg.configFile."okularpartrc".text = pkgs.my-lib.genIni {
"Dlg Accessibility" = {
RecolorBackground = base00;
RecolorForeground = base05;
};
"Document" = {
ChangeColors = true;
PaperColor = base00;
RenderMode = "Recolor";
};
"Main View" = { ShowLeftPanel = false; };
PageView = {
BackgroundColor = base00;
UseCustomBackgroundColor = true;
};
};
};
}