- name: Install xorg become: yes pacman: name: - xorg - xorg-xinit state: present - name: Configure xorg become: yes template: src: 10-laptop-display.conf dest: /etc/X11/xorg.conf.d/10-laptop-display.conf owner: root group: root mode: u=rw,g=r,o=r - name: Install graphical programs become: yes pacman: name: - firefox - xterm - rofi - python-pywal - feh - dunst - picom state: present - name: Install graphical AUR programs aur: name: - rofi-dmenu - polybar state: present - name: Configure X command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow X" creates: "~/.Xresources" - name: Configure rofi command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow rofi" creates: "~/.config/rofi/config.rasi" - name: Configure wal command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow wal" creates: "~/bin/run-wal-hooks.sh" - name: Configure dunst command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow dunst" creates: "~/.config/dunst/dunstrc" - name: Configure feh command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow feh" creates: "~/.config/wal/hooks/00-feh.sh" - name: Configure picom command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow picom" creates: "~/.config/picom.conf" - name: Configure polybar command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: "stow polybar" creates: "~/.config/polybar/config"