<schemalist gettext-domain="gnome-shell-extensions">
    <schema id="org.gnome.shell.extensions.clipboard-indicator"
        path="/org/gnome/shell/extensions/clipboard-indicator/">

    <key name="paste-button" type="b">
        <default>true</default>
        <summary>Add button to paste an entry</summary>
        <description>
            If true, adds another button to each menu entry that lets you immediately paste it
        </description>
    </key>

    <key name="pinned-on-bottom" type="b">
        <default>false</default>
        <summary>Display the pinned section on the bottom</summary>
        <description>
            If true, places the "pinned" section on the bottom
        </description>
    </key>

    <key name="enable-deletion" type="b">
        <default>true</default>
        <summary>Enable the deletion of clipboard items from your history</summary>
        <description>
            If true, displays 'delete' buttons on each item, and a 'Clear History' option
        </description>
    </key>

    <key type="i" name="history-size">
        <default>15</default>
        <summary>The number of items to save in history</summary>
        <description></description>
        <range min="1" max="10000"/>
    </key>

    <key type="i" name="display-mode">
        <default>0</default>
        <summary>What to display in top bar</summary>
        <range min="0" max="3"/>
    </key>

    <key name="disable-down-arrow" type="b">
        <default>true</default>
        <summary>Remove down arrow in top bar</summary>
    </key>

    <key name="clear-on-boot" type="b">
        <default>false</default>
        <summary>Clear clipboard history on every system reboot.</summary>
    </key>

    <key name="paste-on-select" type="b">
        <default>false</default>
        <summary>Paste on select</summary>
    </key>

    <key type="i" name="preview-size">
        <default>30</default>
        <summary>Amount of visible characters for clipboard items </summary>
        <description>
            The number of characters to display for every clipboard item in
            the history menu
        </description>
        <range min="10" max="100"/>
    </key>

    <key type="i" name="topbar-preview-size">
        <default>10</default>
        <summary>Amount of visible characters in topbar </summary>
        <description>
            The number of characters to display for current clipboard item in the topbar
        </description>
        <range min="1" max="100"/>
    </key>

    <key type="i" name="cache-size">
        <default>5</default>
        <summary>The allowed size for the registry cache file in MB</summary>
        <description>
            If the cache overflows this limit, the file will be overriden.
            High limit might cause slowness of shell startup.
        </description>
        <range min="1" max="1024"/>
    </key>

    <key name="cache-only-favorites" type="b">
        <default>false</default>
        <summary>Disable the registry cache file for favorites and use memory only</summary>
        <description>
            Contents which are not favorites are not stored and retrieved from a cache (registry.txt) file.
            This can avoid writing passwords to a plaintext file, but at the cost of persistant history.
            Your clipboard history, except favorite items, is lost after a gnome-shell session ends or the extension is reloaded.
        </description>
    </key>

    <key name="notify-on-copy" type="b">
        <default>false</default>
        <summary>Show notification on copy to clipboard</summary>
        <description>
            If true, a notification is shown when content is copied to clipboard.
        </description>
    </key>

    <key name="notify-on-cycle" type="b">
        <default>true</default>
        <summary>Show notification when cycling through the entries with hotkeys</summary>
        <description>
            If true, a notification is shown when cycling through the clipboard entries using hotkeys.
        </description>
    </key>

    <key name="confirm-clear" type="b">
        <default>true</default>
        <summary>Show confirmation dialog on Clear History</summary>
        <description>
            If true, a confirmation dialog is shown when attempting to Clear History.
        </description>
    </key>

    <key name="strip-text" type="b">
        <default>false</default>
        <summary>Remove whitespace around text</summary>
        <description>
            If true, white spaces around text will be removed.
        </description>
    </key>
    <key name="move-item-first" type="b">
        <default>false</default>
        <summary>Move items to the top of the list when selected.</summary>
        <description>
            If true, move items to the top of the list when it is selected.
        </description>
    </key>
    <key name="keep-selected-on-clear" type="b">
        <default>false</default>
        <summary>Keep selected item on clear</summary>
        <description>
            Whether to keep the currently selected entry in the clipboard
            after clearing the history
        </description>
    </key>
    <key name="enable-keybindings" type="b">
        <default>true</default>
        <summary>Enable the keyboard shortcuts</summary>
        <description>
            If true, user can delete and cycle through the history with keyboard shortcuts
        </description>
    </key>
    <key name="clear-history" type="as">
        <default><![CDATA[['<Control>F10']]]></default>
            <summary>Key to clear the history</summary>
            <description>
            </description>
        </key>
        <key name="prev-entry" type="as">
        <default><![CDATA[['<Control>F11']]]></default>
            <summary>Key to cycle to the previous entry in the clipboard</summary>
            <description>
            </description>
        </key>
        <key name="next-entry" type="as">
        <default><![CDATA[['<Control>F12']]]></default>
            <summary>Next entry</summary>
            <description>
                Key to cycle to the next entry in the clipboard
            </description>
        </key>
        <key name="toggle-menu" type="as">
        <default><![CDATA[['<Control>F9']]]></default>
            <summary>Toggle the menu</summary>
            <description>
                Key to toggle the clipboard menu
            </description>
        </key>
        <key name="private-mode-binding" type="as">
        <default><![CDATA[['<Control>F8']]]></default>
            <summary>Toggle "Private Mode"</summary>
            <description>
                Key to toggle the private mode
            </description>
        </key>
        <key name="cache-images" type="b">
            <default>true</default>
            <summary>Cache images</summary>
            <description>
                Allow caching images to disk
            </description>
        </key>
        <key name="excluded-apps" type="as">
            <default>[]</default>
            <summary>List of excluded applications</summary>
            <description>
                A list of applications that are excluded from clipboard history.
            </description>
        </key>
        <key name="clear-history-on-interval" type="b">
            <default>false</default>
            <summary>Enable clearing history on interval</summary>
            <description>
                If true, clipboard history will be cleared at regular intervals.
            </description>
        </key>
        <key name="clear-history-interval" type="i">
            <default>60</default>
            <summary>Interval for clearing history in minutes</summary>
            <description>
                The interval in minutes at which the clipboard history will be cleared.
            </description>
            <range min="1"/>
        </key>
        <key name="next-history-clear" type="i">
            <default>-1</default>
            <summary>Next scheduled history clear time</summary>
            <description>
                The timestamp for the next scheduled history clear.
            </description>
        </key>
        <key name="case-sensitive-search" type="b">
            <default>false</default>
            <summary>Case sensitive search</summary>
            <description>Make search case sensitive</description>
        </key>
        <key name="regex-search" type="b">
            <default>false</default>
            <summary>Regex-based search</summary>
            <description>Allow regex in search</description>
        </key>
    </schema>
</schemalist>
