When I save the file, Niri pops up the Failed to parse config file. error.
When I run niri validate I get the following output:
Error: error loading config
Diagnostic severity: error
Caused by: error parsing
Caused by: error parsing KDL
Error: unexpected node `hide-after-inactive-ms`
Diagnostic severity: error
Begin snippet for config.kdl starting at line 113, column 1
snippet line 113:
snippet line 114: hide-after-inactive-ms 3000
label starting at line 114, column 5: unexpected node
snippet line 115: hide-on-key-press
label ending at line 115, column 0: unexpected node
snippet line 116: }
Error: unexpected node `hide-on-key-press`
Diagnostic severity: error
Begin snippet for config.kdl starting at line 114, column 1
snippet line 114: hide-after-inactive-ms 3000
snippet line 115: hide-on-key-press
label starting at line 115, column 5: unexpected node
snippet line 116: }
label ending at line 116, column 0: unexpected node
snippet line 117:
If I comment out the two hide options, the config is validated.
I am new to Niri, please forgive me if there is some user error.
Based on this wiki page, I configured the following cursor node in config.kdl:
When I save the file, Niri pops up the
Failed to parse config file.
error.When I run
niri validate
I get the following output:If I comment out the two hide options, the config is validated.
System Information
Linux 6.11.4-arch1-1 x86_64
)