Skip to content
Snippets Groups Projects
Commit 95a00d45 authored by Jafar Lie's avatar Jafar Lie
Browse files

Fixed xorg.conf.j2 template

Former-commit-id: eab73154
parent 9edcabac
No related branches found
No related tags found
No related merge requests found
......@@ -9,13 +9,13 @@ Section "ServerLayout"
#InputDevice "Keyboard0" "CoreKeyboard"
#InputDevice "Mouse0" "CorePointer"
Identifier "Layout0"
{% for screen in item.screens -%}
{% if item.screens.index(screen) == 0 -%}
{% for screen in item.screens %}
{% if item.screens.index(screen) == 0 %}
Screen 0 "Screen{{item.screens.index(screen)}}"
{%-else %}
Screen {{item.screens.index(screen)}} "Screen{{item.screens.index(screen)}}" Right Of "Screen{{item.screens.index(screen)-1}}"
{%- endif -%}
{%- endfor %}
{% else %}
Screen {{item.screens.index(screen)}} "Screen{{item.screens.index(screen)}}" RightOf "Screen{{item.screens.index(screen)-1}}"
{% endif %}
{% endfor %}
#InputDevice "Keyboard0" "CoreKeyboard"
#InputDevice "Mouse0" "CorePointer"
EndSection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment