Reorganized
This commit is contained in:
1 parent
c3c61ce654
commit
760815da50
145 files changed
-1444
No files matched your search
@@ -0,0 +1,36 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.modules.zathura;
|
||||
colors = config.desktop.theming.colors;
|
||||
in
|
||||
{
|
||||
options.modules.zathura.enable = lib.mkEnableOption "zathura";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user