diff --git a/options.xhtml b/options.xhtml index aa9bcbd1c..32ecf0d83 100644 --- a/options.xhtml +++ b/options.xhtml @@ -78975,6 +78975,160 @@ return { +
programs.wleave.enable
+
+
+Whether to enable wleave.
+ +Type: +boolean
+ +Default:
+false
Example:
+true
Declared by:
+
+
+<home-manager/modules/programs/wleave.nix>
+
+ |
programs.wleave.package
+
+
+The wleave package to use.
+ +Type: +null or package
+ +Default:
+pkgs.wleave
Declared by:
+
+
+<home-manager/modules/programs/wleave.nix>
+
+ |
programs.wleave.settings
+
+
+Configuration for wleave. +See https://github.com/AMNatty/wleave#configuration for supported values.
+ +Type: +JSON value
+ +Default:
+{ }
Example:
{
+ margin = 200;
+ buttons-per-row = "1/1";
+ delay-command-ms = 100;
+ close-on-lost-focus = true;
+ show-keybinds = true;
+ buttons = [
+ {
+ label = "lock";
+ action = "swaylock";
+ text = "Lock";
+ keybind = "l";
+ icon = "${pkgs.wleave}/share/wleave/icons/lock.svg";
+ }
+ {
+ label = "logout";
+ action = "loginctl terminate-user $USER";
+ text = "Logout";
+ keybind = "e";
+ icon = "${pkgs.wleave}/share/wleave/icons/logout.svg";
+ }
+ {
+ label = "shutdown";
+ action = "systemctl poweroff";
+ text = "Shutdown";
+ keybind = "s";
+ icon = "${pkgs.wleave}/share/wleave/icons/shutdown.svg";
+ }
+ ];
+}
+
+
+
+Declared by:
+
+
+<home-manager/modules/programs/wleave.nix>
+
+ |
programs.wleave.style
+
+
+CSS style of wleave.
See https://github.com/AMNatty/wleave#styling +for the documentation.
If the value is set to a path literal, then the path will be used as the css file.
+ +Type: +null or absolute path or strings concatenated with ā\nā
+ +Default:
+null
Example:
''
+ window {
+ background-color: rgba(12, 12, 12, 0.8);
+ }
+
+ button {
+ color: var(--view-fg-color);
+ background-color: var(--view-bg-color);
+ border: none;
+ padding: 10px;
+ }
+
+ button:hover,
+ button:focus {
+ color: var(--accent-color);
+ background-color: var(--window-bg-color);
+ }
+''
+
+
+Declared by:
+
+
+<home-manager/modules/programs/wleave.nix>
+
+ |
programs.wlogout.enable