Next: , Previous: , Up: API  


1.11 (heks-linux niri)

1.11.1 Macros

Macro: declaration-prop-props x

Undocumented macro.

Macro: declaration-property x

Undocumented macro.

Macro: declaration-value x

Undocumented macro.

Macro: declaration? x

Undocumented macro.

Macro: make-declaration x

Undocumented macro.

Macro: make-declaration-prop x

Undocumented macro.

Macro: make-rule x

Undocumented macro.

Macro: rule-declarations x

Undocumented macro.

Macro: rule-selector x

Undocumented macro.

Macro: rule? x

Undocumented macro.

Macro: set-rule-selector! x

Undocumented macro.

1.11.2 Parameters

Parameter: niri-config-dir

Default value:

"/root/.config/niri"
Parameter: niri-config-filename

Default value:

"config.kdl"

1.11.3 Procedures

Procedure: dec property value

Undocumented procedure.

Procedure: install-niri-config

Generate and serialize the target Heks Linux system active attributes pipeline configuration directly to disk space.

Procedure: niri-config KEY: #:palette #:sans-font #:mono-font #:keyboard-layout #:caps-to-ctrl? #:extra-startups

Assemble the master schema manifest containing layout properties, hooks, bindings, animations and rules ready for serialization.

Procedure: prop props

Undocumented procedure.

Procedure: rul selector . args

Construct a KDL rule node with a given selector symbol and nested arguments.

(rul 'cursor (dec 'theme "Adwaita"))
Procedure: serialize-bindings xs

Format an association list array of keybinding declarations xs into valid KDL key binding rulesets.

Procedure: serialize-declaration xs

Convert individual property-value configurations into structurally typed KDL declaration syntax values.

Procedure: serialize-kdl xs KEY: #:indent

Recursively transform record definitions and vectors xs into string blocks validating KDL configuration semantics.

1.11.4 Record Types

Record type: declaration

This record type has the following fields:

  • property
  • value
Record type: declaration-prop

This record type has the following fields:

  • props
Record type: rule

This record type has the following fields:

  • selector
  • declarations

Next: (heks-linux packages apt), Previous: (heks-linux mako), Up: API