From efe83bee60d1cf8551839b0e0fe503517554bb21 Mon Sep 17 00:00:00 2001
From: Anthony Perkins <anthony@acperkins.com>
Date: Mon, 11 Sep 2023 20:48:46 +0100
Subject: [PATCH] Set xorg in FreeBSD

---
 .../files/acp-xorg.conf => freebsd/files/xorg-acp.conf}      | 0
 roles/freebsd/tasks/xorg.yml                                 | 5 +++++
 2 files changed, 5 insertions(+)
 rename roles/{home-gui/files/acp-xorg.conf => freebsd/files/xorg-acp.conf} (100%)

diff --git a/roles/home-gui/files/acp-xorg.conf b/roles/freebsd/files/xorg-acp.conf
similarity index 100%
rename from roles/home-gui/files/acp-xorg.conf
rename to roles/freebsd/files/xorg-acp.conf
diff --git a/roles/freebsd/tasks/xorg.yml b/roles/freebsd/tasks/xorg.yml
index 6e8971c..18981d5 100644
--- a/roles/freebsd/tasks/xorg.yml
+++ b/roles/freebsd/tasks/xorg.yml
@@ -19,3 +19,8 @@
     name: dbus
     state: started
     enabled: yes
+- name: Set xorg config
+  become: true
+  ansible.builtin.copy:
+    src: xorg-acp.conf
+    dest: /usr/local/etc/X11/xorg.conf.d/xorg-acp.conf