mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-23 07:21:58 +01:00
25 lines
659 B
YAML
25 lines
659 B
YAML
---
|
|
- name: Install compton
|
|
packer: name=compton-git state=present
|
|
|
|
- name: Configure compton
|
|
copy: src=files/.compton dest=~/.compton backup=yes
|
|
|
|
- name: Init compton in .xprofile
|
|
blockinfile:
|
|
path: ~/.xprofile
|
|
create: True
|
|
marker: "### {mark} DOTFILES compton ###"
|
|
content: |
|
|
compton --backend glx --vsync opengl-swc -GCb --config ~/.compton &
|
|
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"
|