Fix typo and improve comment
This commit is contained in:
parent
f5d5d78a57
commit
964d41a41a
@ -2600,7 +2600,7 @@ template:
|
|||||||
#+BEGIN_SRC conf :tangle roles/yavdr-xorg/templates/grub.d/intel.j2 :mkdirp yes :padline no
|
#+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' %}
|
{% 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"
|
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
|
#+END_SRC
|
||||||
**** xorg
|
**** xorg
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@ -6343,7 +6343,7 @@ Section "Screen"
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
EndSubSection
|
EndSubSection
|
||||||
{% if system.x11.display.0.default or system.x11.default %}
|
{% 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 }}
|
Option "ConnectedMonitor" {{ system.x11.display.0.device }}
|
||||||
{% else %}
|
{% else %}
|
||||||
Option "ConnectedMonitor" {{ system.x11.default }}
|
Option "ConnectedMonitor" {{ system.x11.default }}
|
||||||
|
Loading…
Reference in New Issue
Block a user