MyNixOS website logo
option

wayland.windowManager.labwc.menu

Config to configure labwc menu.

Declarations
Type
list of (XML value)
Default
[ ]
Example
[
  {
    label = "pipemenu";
    menuId = "menu";
    execute = "/home/user/nix/scripts/pipe.sh";
  }
  {
    menuId = "client-menu";
    label = "Client Menu";
    icon = "";
    items = [
      {
        label = "Maximize";
        icon = "";
        action = {
          name = "ToggleMaximize";
        };
      }
      {
        label = "Fullscreen";
        action = {
          name = "ToggleFullscreen";
        };
      }
      {
        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;
      }
    ];
  }
];
Sign in to create a configuration using this setting.