summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-12-16 08:22:35 +0300
committerPavel Egorov <[email protected]>2025-12-16 08:22:35 +0300
commitcff67f2d3fdae125e73b248dec14f09856b6a8d2 (patch)
treedf43e29125aa86cefc397e744ffad51b52a64508 /.config
parentfc2a1ddb9d9cd549c5ac80a054a968c0c138901c (diff)
downloaddotfiles-cff67f2d3fdae125e73b248dec14f09856b6a8d2.tar.gz
dotfiles-cff67f2d3fdae125e73b248dec14f09856b6a8d2.zip
[fastfetch] bugfix constructing fastfetch descriptions
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 = {