From 4f9f45f1effc227059735da86f87dfc49f3b42d4 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 7 Jul 2020 09:14:38 -0400 Subject: [PATCH] Configure xorg --- arch/roles/gui/tasks/main.yml | 9 +++++++++ arch/roles/gui/templates/10-laptop-display.conf | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/roles/gui/templates/10-laptop-display.conf diff --git a/arch/roles/gui/tasks/main.yml b/arch/roles/gui/tasks/main.yml index bf374aa..eadf28e 100644 --- a/arch/roles/gui/tasks/main.yml +++ b/arch/roles/gui/tasks/main.yml @@ -5,3 +5,12 @@ - xorg - xorg-xinit state: present + +- name: Configure xorg + become: yes + template: + src: 10-laptop-display.conf + dest: /etc/X11/xorg.conf.d/10-laptop-display.conf + owner: root + group: root + mode: u=rw,g=r,o=r diff --git a/arch/roles/gui/templates/10-laptop-display.conf b/arch/roles/gui/templates/10-laptop-display.conf new file mode 100644 index 0000000..38f7a7f --- /dev/null +++ b/arch/roles/gui/templates/10-laptop-display.conf @@ -0,0 +1,7 @@ +Section "Screen" + Identifier "Screen0" + Device "Card0" + SubSection "Display" + Modes "1920x1080" + EndSubSection +EndSection \ No newline at end of file