MyNixOS website logo
option

wayland.windowManager.hyprland.submaps.<name>.settings

Hyprland binds to be put in the submap.

String entries render only when wayland.windowManager.hyprland.configType is "hyprlang".

Attribute set entries render only when wayland.windowManager.hyprland.configType is "lua". Attribute values with an _args list generate multi-argument calls. Values created with lib.generators.mkLuaInline are rendered as raw Lua expressions.

Declarations
Type
Hyprland binds
Default
{ }
Example
{
  binde = [
   ", right, resizeactive, 10 0"
   ", left, resizeactive, -10 0"
   ", up, resizeactive, 0 -10"
   ", down, resizeactive, 0 10"
  ];

  bind = [
    ", escape, submap, reset"
    {
      _args = [
        "escape"
        (lib.generators.mkLuaInline "hl.dsp.submap(\"reset\")")
      ];
    }
  ];
}