{# Macros #} {# Include essential snippets #} {% include 'snippets/pm_remote.j2' %} {% include 'snippets/pm_disk_cleanup.j2' %} {% include 'snippets/pm_local_monitoring.j2' %} {% include 'snippets/pm_mpd.j2' %} {% include 'snippets/pm_multimedia_toolbox.j2' %} {% include 'snippets/pm_multimedia_common.j2' %} {% include 'snippets/pm_data_management.j2' %} {# Include rules-determined snippets #} {% if root_access %} {% include 'snippets/pm_system.j2' %} {% endif %} {% if display_server %} {% include 'snippets/pm_desktop_environment.j2' %} {% endif %} {% if termux %} {% include 'snippets/pm_termux.j2' %} {% else %} {% include 'snippets/pm_noandroid.j2' %} {% endif %} {% if software_full %} {% include 'snippets/pm_android_tools.j2' %} {% include 'snippets/pm_multimedia_editors.j2' %} {% include 'snippets/pm_download.j2' %} {% include 'snippets/pm_wine.j2' %} {% include 'snippets/pm_document.j2' %} {% endif %} {# Inclde dev snippets #} {% if dev_stuffs %} {% include 'snippets/pm_dev_common.j2' %} {% for dev_stuff in dev_stuffs %} {% include 'snippets/pm_dev_' + dev_stuff + '.j2' %} {% endfor %} {% endif %} {# Include custom snippets #} {% for software_snippet in software_snippets %} {% if software_snippet.startswith('pm_') %} {% include 'snippets/' + software_snippet + '.j2' %} {% endif %} {% endfor %}