<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2026, Jiri Eischmann <jiri@eischmann.cz> and the meshy contributors -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<schemalist gettext-domain="meshy">
  <schema id="page.codeberg.sesivany.Meshy" path="/page/codeberg/sesivany/Meshy/">
    <key name="window-width" type="i">
      <default>800</default>
      <summary>Window width</summary>
    </key>
    <key name="window-height" type="i">
      <default>600</default>
      <summary>Window height</summary>
    </key>
    <key name="window-maximized" type="b">
      <default>false</default>
      <summary>Window maximized</summary>
    </key>
    <key name="last-device-address" type="s">
      <default>''</default>
      <summary>Last connected device address</summary>
    </key>
    <key name="last-device-name" type="s">
      <default>''</default>
      <summary>Last connected device name</summary>
    </key>
    <key name="last-transport" type="s">
      <default>'ble'</default>
      <summary>Last transport type (ble, usb or tcp)</summary>
    </key>
    <key name="tcp-companions" type="as">
      <default>[]</default>
      <summary>Saved TCP/WiFi companions (name|host:port)</summary>
    </key>
    <key name="color-scheme" type="s">
      <default>'system'</default>
      <summary>Color scheme preference</summary>
      <description>Options: system, light, dark, custom</description>
    </key>
    <key name="custom-theme" type="s">
      <default>'meshcore'</default>
      <summary>Custom theme name</summary>
    </key>
    <key name="default-channel-notification-level" type="i">
      <default>0</default>
      <summary>Default channel notification level</summary>
      <description>0=All, 1=Mentions, 2=None</description>
    </key>
    <key name="run-in-background" type="b">
      <default>true</default>
      <summary>Run in background</summary>
      <description>Keep running after closing the window to receive messages</description>
    </key>
    <key name="autostart" type="b">
      <default>true</default>
      <summary>Autostart</summary>
      <description>Automatically start when you log in</description>
    </key>
    <key name="channel-sort" type="s">
      <default>'messages'</default>
      <summary>Channel list sort order</summary>
      <description>Options: messages, az</description>
    </key>
  </schema>
</schemalist>
