MyNixOS website logo

Lua plugins, one per attribute. The <name> attribute will become the plugin name, and the <value> attribute is a path to a Lua file or a multi-line Lua string. Each attribute will be linked to (config.programs.jjui.configDir)/plugins/<name>.lua with <value> content.

See https://idursun.github.io/jjui/customization/config-lua/ for documentation on Lua support.

Remember to import the defined plugins in the configLua option.

Declarations
Type
attribute set of (absolute path or strings concatenated with "\n")
Default
{ }
Example
{
  foo = ./foo.lua;
  bar = /* lua */ '\'
    local M = {}

    function M.setup(primary, config)
      config.ui = config.ui or {}
      config.ui.colors = config.ui.colors or {}

      config.ui.colors.title = { fg = primary, bold = true }
    end

    return M
  '\';
}