mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat: make conditional top bar in wired
This commit is contained in:
parent
056fe1e7fe
commit
d8138efbec
2 changed files with 174 additions and 122 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue