From cff67f2d3fdae125e73b248dec14f09856b6a8d2 Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Tue, 16 Dec 2025 08:22:35 +0300 Subject: [fastfetch] bugfix constructing fastfetch descriptions --- .config/fastfetch/confgen.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/fastfetch/confgen.py b/.config/fastfetch/confgen.py index 4452582..052b95f 100644 --- a/.config/fastfetch/confgen.py +++ b/.config/fastfetch/confgen.py @@ -35,12 +35,12 @@ class Node: key = {"key": f"{{{font_effect}}} {self.key}"} if self.format: - format = self.format + format = {"format": self.format} else: format = {} if self.text: - text = self.text + text = {"text": self.text} else: text = {} @@ -52,8 +52,9 @@ class Node: return module | key | format | text | additional_entries def add_children(self, *nodes: type["Node"]): - for node in nodes: - self.children.append(node) + self.children += nodes + + schema = { -- cgit v1.3