From 59d3d5af84d15bfb4c20ef45e02493ea3507f533 Mon Sep 17 00:00:00 2001 From: swapnil Date: Tue, 22 Mar 2022 20:33:14 +0530 Subject: [PATCH] Moved picom dependencies to defaults - Added enable_picom option in var --- playbook/roles/role-one/defaults/main.yml | 32 +++++++++++++++++++++- playbook/roles/role-one/vars/main.yml | 33 +++-------------------- 2 files changed, 35 insertions(+), 30 deletions(-) diff --git a/playbook/roles/role-one/defaults/main.yml b/playbook/roles/role-one/defaults/main.yml index bac89fc..42a378c 100644 --- a/playbook/roles/role-one/defaults/main.yml +++ b/playbook/roles/role-one/defaults/main.yml @@ -15,4 +15,34 @@ picom_git: https://github.com/ibhagwan/picom.git powerlevel10k_git: https://github.com/romkatv/powerlevel10k.git -comice_control_git: https://github.com/libredeb/comice-control-center.git \ No newline at end of file +comice_control_git: https://github.com/libredeb/comice-control-center.git + +picom_dependency: + - cmake + - meson + - ninja-build + - git + - pkg-config + - asciidoc + - libxext-dev + - libxcb1-dev + - libxcb-damage0-dev + - libxcb-xfixes0-dev + - libxcb-shape0-dev + - libxcb-render-util0-dev + - libxcb-render0-dev + - libxcb-randr0-dev + - libxcb-composite0-dev + - libxcb-image0-dev + - libxcb-present-dev + - libxcb-xinerama0-dev + - libxcb-glx0-dev + - libpixman-1-dev + - libdbus-1-dev + - libconfig-dev + - libgl1-mesa-dev + - libpcre2-dev + - libevdev-dev + - uthash-dev + - libev-dev + - libx11-xcb-dev diff --git a/playbook/roles/role-one/vars/main.yml b/playbook/roles/role-one/vars/main.yml index e06bc26..511a7fd 100644 --- a/playbook/roles/role-one/vars/main.yml +++ b/playbook/roles/role-one/vars/main.yml @@ -6,32 +6,7 @@ autostart_path: "{{ home_directory }}/.config/autostart" lightdm_path: /etc/lightdm terminal_config_path: "{{ home_directory }}/.config/xfce4/terminal" -picom_dependency: - - cmake - - meson - - ninja-build - - git - - pkg-config - - asciidoc - - libxext-dev - - libxcb1-dev - - libxcb-damage0-dev - - libxcb-xfixes0-dev - - libxcb-shape0-dev - - libxcb-render-util0-dev - - libxcb-render0-dev - - libxcb-randr0-dev - - libxcb-composite0-dev - - libxcb-image0-dev - - libxcb-present-dev - - libxcb-xinerama0-dev - - libxcb-glx0-dev - - libpixman-1-dev - - libdbus-1-dev - - libconfig-dev - - libgl1-mesa-dev - - libpcre2-dev - - libevdev-dev - - uthash-dev - - libev-dev - - libx11-xcb-dev +# Disabling compositor gives a beautiful blurry window borders +# But it's been observed that it cause issues with the whole system +# So its default to false for now +enable_picom: false \ No newline at end of file