diff --git a/roles/compton/tasks/main.yml b/roles/compton/tasks/main.yml index 8469e8a..18464d2 100644 --- a/roles/compton/tasks/main.yml +++ b/roles/compton/tasks/main.yml @@ -12,3 +12,13 @@ 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" diff --git a/vagrant/archlinux/Vagrantfile b/vagrant/archlinux/Vagrantfile index f2573c5..0f04171 100644 --- a/vagrant/archlinux/Vagrantfile +++ b/vagrant/archlinux/Vagrantfile @@ -24,6 +24,10 @@ Vagrant.configure("2") do |config| echo "/swapfile none swap defaults 0 0" >> /etc/fstab # TMP mount -o remount,size=1G /tmp + # LOCALE + echo "fr_FR.UTF-8 UTF-8" > /etc/locale.gen + locale-gen + echo 'LANG="fr_FR.UTF-8"' > /etc/locale.conf # UPGRADE pacman -Syu --noconfirm # DEPS