1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 15:32:01 +01:00
eoli3n-dotfiles/roles/compton/tasks/main.yml

25 lines
659 B
YAML
Raw Normal View History

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"