summaryrefslogtreecommitdiffstats
path: root/.config/fastfetch
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-12-16 10:04:33 +0300
committerPavel Egorov <[email protected]>2025-12-16 10:04:33 +0300
commit8cad57be8a1661648c0282d8aa87f94d2314ae04 (patch)
tree8f3da20d24248008e6d41677592c32ae1747035a /.config/fastfetch
parentcff67f2d3fdae125e73b248dec14f09856b6a8d2 (diff)
downloaddotfiles-8cad57be8a1661648c0282d8aa87f94d2314ae04.tar.gz
dotfiles-8cad57be8a1661648c0282d8aa87f94d2314ae04.zip
[fastfetch] bugfix child list creation
Diffstat (limited to '.config/fastfetch')
-rw-r--r--.config/fastfetch/confgen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/fastfetch/confgen.py b/.config/fastfetch/confgen.py
index 052b95f..c5c068a 100644
--- a/.config/fastfetch/confgen.py
+++ b/.config/fastfetch/confgen.py
@@ -11,7 +11,7 @@ class Node:
11 additional_entries: Optional[dict[str, type[Any]]] 11 additional_entries: Optional[dict[str, type[Any]]]
12 font_effect: Optional[str] 12 font_effect: Optional[str]
13 neighbour_branches: str 13 neighbour_branches: str
14 children: list["Node"] = [] 14 children: list["Node"]
15 15
16 def __init__(self, module, key, format=None, additional_entries=None, text=None, font_effect=None): 16 def __init__(self, module, key, format=None, additional_entries=None, text=None, font_effect=None):
17 self.module = module 17 self.module = module
@@ -20,6 +20,7 @@ class Node:
20 self.text = text 20 self.text = text
21 self.additional_entries = additional_entries 21 self.additional_entries = additional_entries
22 self.font_effect = font_effect 22 self.font_effect = font_effect
23 self.children = []
23 24
24 def __str__(self) -> str: 25 def __str__(self) -> str:
25 return str(self.construct_fastfetch_description()) 26 return str(self.construct_fastfetch_description())