Added iconset configuration

This commit is contained in:
Mark Qvist
2026-05-03 19:32:13 +02:00
parent 8d73265cf4
commit 49f6a6924d
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -125,6 +125,10 @@ class NomadNetworkNode():
try: os.makedirs(self.templatesdir)
except Exception as e: RNS.log(f"Could not create templates directory {self.templatesdir}: {e}", RNS.LOG_ERROR)
if "pages" in self.owner.config:
if "unicode_icons" in self.owner.config["pages"]:
if self.owner.config["pages"].as_bool("unicode_icons"): self.use_nerdfonts = False
self.destination = RNS.Destination(self.identity, RNS.Destination.IN, RNS.Destination.SINGLE, self.APP_NAME, "node")
self.destination.set_link_established_callback(self.remote_connected)
self.destination.set_default_app_data(self.get_announce_app_data)
+5
View File
@@ -1032,6 +1032,11 @@ internal = rw:9710b86ba12c42d1d8f30f74fe509286
# serve_nomadnet = no
# It is possible to disable Nerd Font icons and instead
# use simpler (but more compatible) unicode icons.
# unicode_icons = yes
[logging]
# Valid log levels are 0 through 7: