programs.foliate.enable
Whether to enable Foliate.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.foliate.package
The foliate package to use.
Type: null or package
Default:
pkgs.foliate
Declared by:
programs.foliate.settings
Added to config.dconf.settings under com/github/johnfactotum/Foliate,
the scheme is defined at
https://github.com/johnfactotum/foliate/blob/gtk4/data/com.github.johnfactotum.Foliate.gschema.xml
Type: attribute set of ((GVariant value) or attribute set of (GVariant value))
Default:
{ }
Example:
{
myTheme = {
color-scheme = 0;
library = {
show-covers = true;
view-mode = "grid";
};
"viewer/font" = {
default-size = 12;
monospace = "Maple Mono";
};
"viewer/view" = {
theme = "myTheme.json";
};
};
}
Declared by:
programs.foliate.themes
Each theme is written to
$XDG_CONFIG_HOME/com.github.johnfactotum.Foliate/themes/NAME.json.
See https://github.com/johnfactotum/foliate/blob/gtk4/src/themes.js
for implementation of themes in Foliate.
Type: attribute set of (JSON value or string or absolute path)
Default:
{ }
Example:
{
label = "My Theme";
light = {
fg = "#89b4fa";
bg = "#1e1e2e";
link = "#89b4fa";
};
dark = { };
}
Declared by: