# tasks file for dotfiles - name: Ensure stow is installed become: true pacman: name: - stow state: present - name: Remove existing config files before stowing file: path: "{{ archsetup_user_home }}/.config/{{ item }}" state: absent loop: - hypr - zellij - name: Create symlinks with stow command: stow --target={{ archsetup_user_home }} {{ dotfiles_stow_packages | join(' ') }} args: creates: "{{ archsetup_user_home }}/.config/hypr" chdir: "{{ archsetup_dir }}/dotfiles"