mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-11 15:23:31 -07:00
Added iconset configuration
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user