From 4d9a0436e02fec231ace0ae95ca9fafb0cf96b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Grondek?= Date: Fri, 30 Oct 2020 09:43:21 +0100 Subject: [PATCH] Add compton --- localhost.yml | 1 + roles/compton/files/compton.conf | 7 +++++++ roles/compton/tasks/main.yml | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 roles/compton/files/compton.conf create mode 100644 roles/compton/tasks/main.yml diff --git a/localhost.yml b/localhost.yml index 92d43c3..3aadd94 100644 --- a/localhost.yml +++ b/localhost.yml @@ -6,3 +6,4 @@ - docker - java - jetbrains + - compton diff --git a/roles/compton/files/compton.conf b/roles/compton/files/compton.conf new file mode 100644 index 0000000..3f30208 --- /dev/null +++ b/roles/compton/files/compton.conf @@ -0,0 +1,7 @@ +# basic configuration +backend = "glx"; + +glx-no-stencil = true; +paing-on-overlay = true; + +vsync = "opengl-swc"; \ No newline at end of file diff --git a/roles/compton/tasks/main.yml b/roles/compton/tasks/main.yml new file mode 100644 index 0000000..b105089 --- /dev/null +++ b/roles/compton/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- name: install comton + become: yes + apt: + update_cache: yes + pkg: + - compton + +- name: create config dir + file: + path: ~/.config + +- name: copy config + copy: + src: compton.conf + dest: ~/.config/compton.conf