<?xml version="1.0" encoding="UTF-8"?>

{% set i = 13 %}
{% if kita_plus_url is defined %}
{% set application_starters = application_starters + ["kitaplus"] %}
{% endif %}

<channel name="xfce4-panel" version="1.0" locked="*" unlocked="{{kiosk_unlocked_users}}">
  <property name="configver" type="int" value="2"/>
  <property name="panels" type="array">
    <value type="int" value="1"/>
    <property name="panel-1" type="empty">
      <property name="position" type="string" value="p=12;x=0;y=997"/>
      <property name="length" type="uint" value="100"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="size" type="uint" value="42"/>
      <property name="plugin-ids" type="array">
        <value type="int" value="1"/>
        <value type="int" value="12"/>
{% for app in application_starters %}
        <value type="int" value="{{ loop.index0 + i }}"/>
{% endfor %}
        <value type="int" value="2"/>
        <value type="int" value="3"/>
        <value type="int" value="4"/>
        <value type="int" value="5"/>
        <value type="int" value="6"/>
        <value type="int" value="7"/>
        <value type="int" value="8"/>
        <value type="int" value="9"/>
        <value type="int" value="10"/>
        <value type="int" value="11"/>
      </property>
      <property name="nrows" type="uint" value="2"/>
      <property name="disable-struts" type="empty"/>
      <property name="background-style" type="uint" value="1"/>
      <property name="background-alpha" type="uint" value="50"/>
      <property name="background-color" type="array">
        <value type="uint" value="58982"/>
        <value type="uint" value="58982"/>
        <value type="uint" value="58982"/>
        <value type="uint" value="65535"/>
      </property>

    </property>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-1" type="string" value="whiskermenu"/>

    <property name="plugin-12" type="string" value="places">
      <property name="show-button-type" type="int" value="2"/>
      <property name="show-icons" type="bool" value="true"/>
      <property name="button-label" type="string" value=""/>
      <property name="search-cmd" type="string" value="gnome-search-tool"/>
      <property name="mount-open-volumes" type="bool" value="true"/>
      <property name="show-volumes" type="bool" value="true"/>
      <property name="show-bookmarks" type="bool" value="true"/>
      <property name="show-recent" type="bool" value="true"/>
      <property name="show-recent-clear" type="bool" value="true"/>
    </property>

{% for app in application_starters %}
    <property name="plugin-{{ loop.index0 + i }}" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="{{app}}.desktop"/>
      </property>
    </property>
{% endfor %}

    <property name="plugin-2" type="string" value="tasklist">
      <property name="include-all-workspaces" type="bool" value="false"/>
      <property name="include-all-monitors" type="bool" value="true"/>
      <property name="grouping" type="uint" value="0"/>
      <property name="middle-click" type="uint" value="1"/>
      <property name="show-wireframes" type="bool" value="false"/>
      <property name="flat-buttons" type="bool" value="true"/>
      <property name="show-labels" type="bool" value="true"/>
    </property>

    <property name="plugin-3" type="string" value="separator">
      <property name="expand" type="bool" value="true"/>
      <property name="style" type="uint" value="0"/>
    </property>

    <property name="plugin-4" type="string" value="windowmenu">
      <property name="style" type="uint" value="0"/>
      <property name="workspace-actions" type="bool" value="true"/>
      <property name="workspace-names" type="bool" value="true"/>
      <property name="urgentcy-notification" type="bool" value="true"/>
      <property name="all-workspaces" type="bool" value="true"/>
    </property>

    <property name="plugin-5" type="string" value="showdesktop">
      <property name="digital-format" type="empty"/>
    </property>

    <property name="plugin-6" type="string" value="pager">
      <property name="rows" type="uint" value="2"/>
    </property>

    <property name="plugin-7" type="string" value="systray">
      <property name="size-max" type="uint" value="32"/>
      <property name="show-frame" type="bool" value="false"/>
    </property>

    <property name="plugin-8" type="string" value="pulseaudio">
      <property name="enable-keyboard-shortcuts" type="bool" value="true"/>
    </property>
    <property name="plugin-9" type="string" value="power-manager-plugin"/>

    <property name="plugin-10" type="string" value="datetime"/>

    <property name="plugin-11" type="string" value="actions">
      <property name="items" type="array">
        <value type="string" value="-separator"/>
        <value type="string" value="-logout-dialog"/>
        <value type="string" value="-switch-user"/>
        <value type="string" value="+logout"/>
        <value type="string" value="+lock-screen"/>
        <value type="string" value="-hibernate"/>
        <value type="string" value="-suspend"/>
        <value type="string" value="-restart"/>
        <value type="string" value="-shutdown"/>
      </property>
      <property name="appearance" type="uint" value="0"/>
      <property name="invert-orientation" type="bool" value="true"/>
    </property>

  </property>
</channel>
