nixos-config/profiles/applications/okular.nix

28 lines
701 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{ pkgs, lib, config, ... }:
2023-01-27 22:48:27 +04:00
with (pkgs.my-lib.thmDec config.themes.colors); {
home-manager.users.balsoft = {
2023-02-22 00:34:25 +04:00
home.packages = [
(if config.deviceSpecific.isPhone then
pkgs.okularMobile
else
pkgs.okular)
];
2023-01-27 22:48:27 +04:00
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;
};
2020-02-17 17:00:59 +04:00
};
};
}