From 27024bbc739d02b9d54695f748abc6152071e7d9 Mon Sep 17 00:00:00 2001 From: khaneliman Date: Tue, 13 May 2025 17:06:26 +0000 Subject: [PATCH] deploy: 8d832ddfda9facf538f3dda9b6985fb0234f151c --- options.xhtml | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/options.xhtml b/options.xhtml index a0f0af9d9..9ce29d1a5 100644 --- a/options.xhtml +++ b/options.xhtml @@ -25898,6 +25898,141 @@ strings concatenated with ā€œ\nā€ or absolute path

+
+ + programs.foliate.enable + + +
+
+

Whether to enable Foliate.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/foliate.nix> + +
+
+
+ + programs.foliate.package + + +
+
+

The foliate package to use.

+ +

Type: +null or package

+ +

Default: +pkgs.foliate

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/foliate.nix> + +
+
+
+ + 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 = {
+      view-mode = "grid";
+      show-covers = true;
+    };
+    "viewer/view" = {
+      theme = "My Theme";
+    };
+    "viewer/font" = {
+      monospace = "Maple Mono";
+      default-size = 12;
+    };
+  };
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/foliate.nix> + +
+
+
+ + 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:

+ + +
+ +<home-manager/modules/programs/foliate.nix> + +
+
programs.foot.enable