diff --git a/options.xhtml b/options.xhtml index 91fd8c08a..f8938349b 100644 --- a/options.xhtml +++ b/options.xhtml @@ -93922,6 +93922,420 @@ boolean

+
+ + wayland.windowManager.labwc.enable + + +
+
+

Whether to enable Labwc, a wayland window-stacking compositor.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.package + + +
+
+

The labwc package to use. Set to null to use Nixos labwc package.

+ +

Type: +null or package

+ +

Default: +pkgs.labwc

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.autostart + + +
+
+

Command to autostart when labwc start.

+ +

Type: +list of string

+ +

Default: +[ ]

+ +

Example:

[
+  "wayvnc &"
+  "waybar &"
+  "swaybg -c '#113344' >/dev/null 2>&1 &"
+]
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.environment + + +
+
+

Environment variable to add when labwc start.

+ +

Type: +list of string

+ +

Default: +[ ]

+ +

Example:

[
+  "XDG_CURRENT_DESKTOP=labwc:wlroots"
+  "XKB_DEFAULT_LAYOUT=us"
+]
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.extraConfig + + +
+
+

Extra lines appended to $XDG_CONFIG_HOME/labwc/rc.xml.

+ +

Type: +strings concatenated with “\n”

+ +

Default: +""

+ +

Example:

''
+  <tablet mapToOutput="" rotate="0" mouseEmulation="no">
+    <!-- Active area dimensions are in mm -->
+    <area top="0.0" left="0.0" width="0.0" height="0.0" />
+    <map button="Tip" to="Left" />
+    <map button="Stylus" to="Right" />
+    <map button="Stylus2" to="Middle" />
+  </tablet>
+''
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.menu + + +
+
+

Config to configure labwc menu

+ +

Type: +list of (XML value)

+ +

Default: +[ ]

+ +

Example:

[
+  {
+    menuId = "client-menu";
+    label = "Client Menu";
+    icon = "";
+    items = [
+      {
+        label = "Maximize";
+        icon = "";
+        action = {
+          name = "ToggleMaximize";
+        };
+      }
+      {
+        label = "Fullscreen";
+        action = {
+          name = "ToggleFullscreen";
+        };
+      }
+      {
+        label = "Always on Top";
+        action = {
+          name = "ToggleAlwaysOnTop";
+        };
+      }
+      {
+        label = "Alacritty";
+        action = {
+          name = "Execute";
+          command = "alacritty";
+        };
+      }
+      {
+        label = "Move Left";
+        action = {
+          name = "SendToDesktop";
+          to = "left";
+        };
+      }
+      {
+        separator = { };
+      }
+      {
+        label = "Workspace";
+        menuId = "workspace";
+        icon = "";
+        items = [
+          {
+            label = "Move Left";
+            action = {
+              name = "SendToDesktop";
+              to = "left";
+            };
+          }
+        ];
+      }
+      {
+        separator = true;
+      }
+    ];
+  }
+];
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.rc + + +
+
+

Config to configure labwc options. +Use “@attributes” for attributes. +See https://labwc.github.io/labwc-config.5.html for configuration.

+ +

Type: +XML value

+ +

Default: +{ }

+ +

Example:

{
+  theme = {
+    name = "nord";
+    cornerRadius = 8;
+    font = {
+      "@name" = "FiraCode";
+      "@size" = "11";
+    };
+  };
+  keyboard = {
+    default = true;
+    keybind = [
+      # <keybind key="W-Return"><action name="Execute" command="foot"/></keybind>
+      {
+        "@key" = "W-Return";
+        action = {
+          "@name" = "Execute";
+          "@command" = "foot";
+        };
+      }
+      # <keybind key="W-Esc"><action name="Execute" command="loot"/></keybind>
+      {
+        "@key" = "W-Esc";
+        action = {
+          "@name" = "Execute";
+          "@command" = "loot";
+        };
+      }
+    ];
+  };
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.systemd.enable + + +
+
+

Whether to enable labwc-session.target on +labwc startup. This links to graphical-session.target. +Some important environment variables will be imported to systemd +and D-Bus user environment before reaching the target, including

+ +

Type: +boolean

+ +

Default: +true

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.systemd.extraCommands + + +
+
+

Extra commands to be run after D-Bus activation.

+ +

Type: +list of string

+ +

Default:

[
+  "systemctl --user stop labwc-session.target"
+  "systemctl --user start labwc-session.target"
+]
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.systemd.variables + + +
+
+

Environment variables to be imported in the systemd & D-Bus user +environment.

+ +

Type: +list of string

+ +

Default:

[
+  "DISPLAY"
+  "WAYLAND_DISPLAY"
+  "XDG_CURRENT_DESKTOP"
+]
+
+ +

Example:

[
+  "-all"
+]
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
+
+ + wayland.windowManager.labwc.xwayland.enable + + +
+
+

Whether to enable XWayland.

+ +

Type: +boolean

+ +

Default: +true

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/window-managers/labwc/labwc.nix> + +
+
wayland.windowManager.river.enable