dotfiles-ansible/roles/config/tasks/notification.yml

37 lines
785 B
YAML

---
- name: '{{ notification }} | Create config directory'
file:
path: '~/.config/{{ notification }}'
state: directory
mode: '755'
- name: '{{ notification }} | Copy notification icons'
copy:
src: notification_icons/
dest: '~/.config/{{ notification }}/'
mode: '644'
- name: dunst | Copy config
template:
src: dunst/dunstrc.j2
dest: ~/.config/dunst/dunstrc
force: true
mode: '644'
when: notification == 'dunst'
- name: mako | Copy config
template:
src: mako/config.j2
dest: ~/.config/mako/config
force: true
mode: '644'
when: notification == 'mako'
- name: fnott | Copy config
template:
src: fnott/fnott.j2
dest: ~/.config/fnott/fnott.ini
force: true
mode: '644'
when: notification == 'fnott'