Fix quoting and indentation in 20-intel.conf.j2

This commit is contained in:
Alexander Grothe 2019-01-07 21:56:48 +01:00
parent d4cbb054bd
commit 9180f8d74e
2 changed files with 12 additions and 12 deletions

View File

@ -2720,7 +2720,7 @@ Section "Screen"
SubSection "Display" SubSection "Display"
Depth 24 Depth 24
{% if xorg.primary.mode %} {% if xorg.primary.mode %}
Modes {{ xorg.primary.mode }} Modes "{{ xorg.primary.mode }}"
{% else %} {% else %}
Modes "1920x1080_50" "1920x1080_60" "1920x1080_24" Modes "1920x1080_50" "1920x1080_60" "1920x1080_24"
{% endif %} {% endif %}
@ -2728,15 +2728,15 @@ Section "Screen"
EndSection EndSection
Section "Monitor" Section "Monitor"
Identifier "{{ output }}" Identifier "{{ output }}"
{% if xorg.primary.modelines %} {% if xorg.primary.modelines %}
{% for modeline in xorg.primary.modelines %} {% for modeline in xorg.primary.modelines %}
{{ modeline }} {{ modeline }}
{% endfor %} {% endfor %}
{% else %} {% else %}
Modeline "1920x1080_24" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_24" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080_50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080_60" 148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_60" 148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync
{% endif %} {% endif %}
EndSection EndSection
{% for connector, data in xrandr["Screen 0:"].iteritems() %} {% for connector, data in xrandr["Screen 0:"].iteritems() %}

View File

@ -18,7 +18,7 @@ Section "Screen"
SubSection "Display" SubSection "Display"
Depth 24 Depth 24
{% if xorg.primary.mode %} {% if xorg.primary.mode %}
Modes {{ xorg.primary.mode }} Modes "{{ xorg.primary.mode }}"
{% else %} {% else %}
Modes "1920x1080_50" "1920x1080_60" "1920x1080_24" Modes "1920x1080_50" "1920x1080_60" "1920x1080_24"
{% endif %} {% endif %}
@ -26,15 +26,15 @@ Section "Screen"
EndSection EndSection
Section "Monitor" Section "Monitor"
Identifier "{{ output }}" Identifier "{{ output }}"
{% if xorg.primary.modelines %} {% if xorg.primary.modelines %}
{% for modeline in xorg.primary.modelines %} {% for modeline in xorg.primary.modelines %}
{{ modeline }} {{ modeline }}
{% endfor %} {% endfor %}
{% else %} {% else %}
Modeline "1920x1080_24" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_24" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080_50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080_60" 148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync Modeline "1920x1080_60" 148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync
{% endif %} {% endif %}
EndSection EndSection
{% for connector, data in xrandr["Screen 0:"].iteritems() %} {% for connector, data in xrandr["Screen 0:"].iteritems() %}