# Desktop Applications Configuration
# Generated for {{ desktop.name }} - {{ desktop.desktop_env.type | upper }} Desktop

[applications]
# Editor Applications
{% for editor in desktop.applications.editors %}
{{ editor }}_enabled = true
{% endfor %}

# Browser Applications  
{% for browser in desktop.applications.browsers %}
{{ browser }}_enabled = true
{% endfor %}

# Terminal Applications
{% for terminal in desktop.applications.terminals %}
{{ terminal }}_enabled = true
{% endfor %}

# Development Tools
{% for dev_tool in desktop.applications.development %}
{{ dev_tool | replace('-', '_') }}_enabled = true
{% endfor %}

# Media Applications
{% for media_app in desktop.applications.media %}
{{ media_app }}_enabled = true
{% endfor %}

# Office Applications
{% for office_app in desktop.applications.office %}
{{ office_app }}_enabled = true
{% endfor %}

# Utility Applications
{% for utility in desktop.applications.utilities %}
{{ utility }}_enabled = true
{% endfor %}

[desktop_environment]
type = "{{ desktop.desktop_env.type }}"
display_manager = "{{ desktop.desktop_env.display_manager }}"
resolution = "{{ desktop.desktop_env.resolution }}"
{% if desktop.desktop_env.theme %}
theme = "{{ desktop.desktop_env.theme }}"
{% endif %}

[user_settings]
username = "{{ desktop.run_user.name }}"
home_directory = "{{ desktop.run_user.home }}"
shell = "{{ desktop.run_user.shell }}"
auto_login = {{ desktop.auto_login | lower }}

[vnc_settings]
enabled = {{ desktop.vnc.enabled | lower }}
port = {{ desktop.vnc.port }}
geometry = "{{ desktop.vnc.geometry }}"
depth = {{ desktop.vnc.depth }}

[graphics]
driver = "{{ desktop.graphics.driver }}"
acceleration = {{ desktop.graphics.acceleration | lower }}
compositing = {{ desktop.graphics.compositing | lower }}