feat: make conditional top bar in wired

This commit is contained in:
oddlama 2023-10-12 15:50:56 +02:00
parent 056fe1e7fe
commit d8138efbec
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 174 additions and 122 deletions

View file

@ -86,8 +86,8 @@
entriesStr =
if value ? _ronType
then specialType indent value
else if builtins.isList value
then list newIndent value
else if !builtins.isAttrs value
then toRon indent value
else let
entries = mapAttrsToList toEntry value;
entriesStrSpace = concatStringsSep ", " entries;