mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-20 06:56:26 -05:00
Added iconset configuration
This commit is contained in:
parent
8d73265cf4
commit
49f6a6924d
2 changed files with 9 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue