2017-12-18 22:18:38 +01:00
|
|
|
---
|
|
|
|
- name: Install compton
|
2017-12-19 00:06:35 +01:00
|
|
|
packer: name=compton-git state=present
|
2017-12-18 22:18:38 +01:00
|
|
|
|
|
|
|
- name: Configure compton
|
2017-12-19 16:03:05 +01:00
|
|
|
copy: src=files/.compton dest=~/.compton backup=yes
|
2017-12-18 22:18:38 +01:00
|
|
|
|
|
|
|
- name: Init compton in .xprofile
|
|
|
|
blockinfile:
|
|
|
|
path: ~/.xprofile
|
|
|
|
create: True
|
|
|
|
marker: "### {mark} DOTFILES compton ###"
|
|
|
|
content: |
|
|
|
|
compton --backend glx --vsync opengl-swc -GCb --config ~/.compton &
|
2017-12-19 16:33:35 +01:00
|
|
|
when: ansible_env.username != "vagrant"
|
|
|
|
|
|
|
|
- name: Init compton in .xprofile (Vagrant)
|
|
|
|
blockinfile:
|
|
|
|
path: ~/.xprofile
|
|
|
|
create: True
|
|
|
|
marker: "### {mark} DOTFILES compton ###"
|
|
|
|
content: |
|
|
|
|
compton -GCb --config ~/.compton &
|
|
|
|
when: ansible_env.username == "vagrant"
|