Fix typo and improve comment

This commit is contained in:
Alexander Grothe 2019-01-05 11:42:26 +01:00
parent f5d5d78a57
commit 964d41a41a
1 changed files with 2 additions and 2 deletions

View File

@ -2600,7 +2600,7 @@ template:
#+BEGIN_SRC conf :tangle roles/yavdr-xorg/templates/grub.d/intel.j2 :mkdirp yes :padline no
{% set output_flag = 'D' if ("HDMI" in xorg.primary.connector or "DVI" in xorg.primary.connector or "DP" in xorg.primary.connector) else 'e' %}
GRUB_CMDLINE_LINUX+=" video={{ xorg.primary.drm_connector }}:{{ xorg.primary.mode|replace('_', '@') }}{{ output_flag }} drm.edid_firmware={{ xorg.primary.drm_connector }}:edid/edid.bin"
# TODO: configure additional monitors (second monitor on, all others off)
# TODO: configure additional monitors (primary monitor on, all others off)
#+END_SRC
**** xorg
:PROPERTIES:
@ -6343,7 +6343,7 @@ Section "Screen"
{% endif %}
EndSubSection
{% if system.x11.display.0.default or system.x11.default %}
{% if system.x11.display.0.device is definded and system.x11.display.0.device %}
{% if system.x11.display.0.device is defined and system.x11.display.0.device %}
Option "ConnectedMonitor" {{ system.x11.display.0.device }}
{% else %}
Option "ConnectedMonitor" {{ system.x11.default }}