summaryrefslogtreecommitdiffstats
path: root/.config/fastfetch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/fastfetch/confgen.py9
1 files changed, 5 insertions, 4 deletions
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:
35 key = {"key": f"{{{font_effect}}} {self.key}"} 35 key = {"key": f"{{{font_effect}}} {self.key}"}
36 36
37 if self.format: 37 if self.format:
38 format = self.format 38 format = {"format": self.format}
39 else: 39 else:
40 format = {} 40 format = {}
41 41
42 if self.text: 42 if self.text:
43 text = self.text 43 text = {"text": self.text}
44 else: 44 else:
45 text = {} 45 text = {}
46 46
@@ -52,8 +52,9 @@ class Node:
52 return module | key | format | text | additional_entries 52 return module | key | format | text | additional_entries
53 53
54 def add_children(self, *nodes: type["Node"]): 54 def add_children(self, *nodes: type["Node"]):
55 for node in nodes: 55 self.children += nodes
56 self.children.append(node) 56
57
57 58
58 59
59schema = { 60schema = {