--- - name: Install xmonad and xmobar packages ansible.builtin.package: name: - xmonad - xmonad-contrib - xmobar - alacritty - dunst state: present become: true tags: pc # - name: Build and install custom st, dmenu and slock # tags: pc - name: Create config directories ansible.builtin.file: path: "{{ item }}" state: directory mode: '0755' with_items: - ~/.config/xmonad - ~/.config/xmobar - ~/.config/dunst tags: pc - name: Copy over alacritty config ansible.builtin.copy: src: alacritty.yml dest: ~/.config/alacritty.yml mode: '0644' tags: pc - name: Copy over dunst config ansible.builtin.copy: src: dunstrc dest: ~/.config/dunst/dunstrc mode: '0644' tags: pc - name: Copy over T460p config files ansible.builtin.copy: src: "{{ item.src }}" dest: "{{ item.dest }}" mode: '0644' with_items: - { src: xmonad_t460p.hs, dest: ~/.config/xmonad/xmonad.hs } - { src: xmobarrc_t460p, dest: ~/.config/xmobar/xmobarrc } tags: t460p - name: Copy over qwerty config files ansible.builtin.copy: src: "{{ item.src }}" dest: "{{ item.dest }}" mode: '0644' with_items: - { src: xmonad_qwerty.hs, dest: ~/.config/xmonad/xmonad.hs } - { src: xmobarrc_qwerty, dest: ~/.config/xmobar/xmobarrc } tags: qwerty