diff --git a/options.html b/options.html index 5da20a2c..e3c2d92d 100644 --- a/options.html +++ b/options.html @@ -12398,6 +12398,56 @@ string

Default: "graphical-session.target"

Example: "sway-session.target"

Declared by:

<home-manager/modules/services/copyq.nix> +
services.darkman.enable

Whether to enable darkman, a tool that automatically switches dark-mode on and off based on +the time of the day.

Type: +boolean

Default: +false

Example: +true

Declared by:

+<home-manager/modules/services/darkman.nix> +
services.darkman.package

The darkman package to use.

Type: +package

Default: +pkgs.darkman

Declared by:

+<home-manager/modules/services/darkman.nix> +
services.darkman.darkModeScripts

Scripts to run when switching to “dark mode”.

Multiline strings are interpreted as Bash shell scripts and a shebang is +not required.

Type: +attribute set of (path or strings concatenated with “\n”)

Default: +{ }

Example:

{
+  gtk-theme = ''
+    ${pkgs.dconf}/bin/dconf write \
+        /org/gnome/desktop/interface/color-scheme "'prefer-dark'"
+  '';
+  my-python-script = pkgs.writers.writePython3 "my-python-script" { } ''
+    print('Do something!')
+  '';
+}
+
+

Declared by:

+<home-manager/modules/services/darkman.nix> +
services.darkman.lightModeScripts

Scripts to run when switching to “light mode”.

Multiline strings are interpreted as Bash shell scripts and a shebang is +not required.

Type: +attribute set of (path or strings concatenated with “\n”)

Default: +{ }

Example:

{
+  gtk-theme = ''
+    ${pkgs.dconf}/bin/dconf write \
+        /org/gnome/desktop/interface/color-scheme "'prefer-light'"
+  '';
+  my-python-script = pkgs.writers.writePython3 "my-python-script" { } ''
+    print('Do something!')
+  '';
+}
+
+

Declared by:

+<home-manager/modules/services/darkman.nix> +
services.darkman.settings

Settings for the darkman command. See +https://darkman.whynothugo.nl/#CONFIGURATION for details.

Type: +YAML value

Example:

{
+  lat = 52.3;
+  lng = 4.8;
+  usegeoclue = true;
+}
+
+

Declared by:

+<home-manager/modules/services/darkman.nix>
services.devilspie2.enable

Whether to enable Devilspie2, a window matching utility, allowing the user to perform scripted actions on windows as they are created.

Type: boolean

Default: