mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
24 lines
1.0 KiB
Django/Jinja
24 lines
1.0 KiB
Django/Jinja
<?xml version="1.0" encoding="utf-8"?>
|
|
<LayoutModificationTemplate
|
|
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
|
|
xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
|
|
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
|
|
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
|
|
Version="1">
|
|
<CustomTaskbarLayoutCollection PinListPlacement="Replace">
|
|
<defaultlayout:TaskbarLayout>
|
|
<taskbar:TaskbarPinList>
|
|
{% for pin in windows_taskbar_pins %}
|
|
{% if pin.type == 'desktop_application_id' %}
|
|
<taskbar:DesktopApp DesktopApplicationID="{{ pin.id }}" />
|
|
{% elif pin.type == 'desktop_application_link_path' %}
|
|
<taskbar:DesktopApp DesktopApplicationLinkPath="{{ pin.path }}" />
|
|
{% elif pin.type == 'app_user_model_id' %}
|
|
<taskbar:UWA AppUserModelID="{{ pin.id }}" />
|
|
{% endif %}
|
|
{% endfor %}
|
|
</taskbar:TaskbarPinList>
|
|
</defaultlayout:TaskbarLayout>
|
|
</CustomTaskbarLayoutCollection>
|
|
</LayoutModificationTemplate>
|