2019-10-21 08:09:44 +00:00
|
|
|
---
|
|
|
|
- name: Copy .Xresources
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2019-10-21 08:09:44 +00:00
|
|
|
src: Xresources
|
|
|
|
dest: "{{ ansible_env.HOME }}/.Xresources"
|
|
|
|
- name: Copy .fonts.conf
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2019-10-21 08:09:44 +00:00
|
|
|
src: fonts.conf
|
|
|
|
dest: "{{ ansible_env.HOME }}/.fonts.conf"
|
2019-11-20 10:26:13 +00:00
|
|
|
- name: Create stalonetrayrc
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2019-11-20 10:26:13 +00:00
|
|
|
src: stalonetrayrc
|
|
|
|
dest: "{{ ansible_env.HOME }}/.stalonetrayrc"
|
2019-11-15 22:55:28 +00:00
|
|
|
- name: Create fvwm config file
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2019-11-15 22:55:28 +00:00
|
|
|
src: fvwmrc
|
|
|
|
dest: "{{ ansible_env.HOME }}/.fvwm/config"
|
2019-11-10 17:39:26 +00:00
|
|
|
- name: Create NetBSD xsession file
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2019-11-10 17:39:26 +00:00
|
|
|
src: xsession-netbsd
|
|
|
|
dest: "{{ ansible_env.HOME }}/.xsession"
|
|
|
|
when: ansible_system == "NetBSD"
|
|
|
|
- name: Create xinitrc symlink
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.file:
|
2019-11-10 17:39:26 +00:00
|
|
|
src: ".xsession"
|
|
|
|
dest: "{{ ansible_env.HOME }}/.xinitrc"
|
|
|
|
state: link
|
2020-01-22 09:40:29 +00:00
|
|
|
when: ansible_system == "NetBSD"
|
2020-04-20 09:26:27 +00:00
|
|
|
- name: Load ~/.Xresources
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2020-04-12 21:25:16 +00:00
|
|
|
src: "xrdb.desktop"
|
|
|
|
dest: "{{ ansible_env.HOME }}/.config/autostart/xrdb.desktop"
|
2020-04-20 09:25:31 +00:00
|
|
|
when: ansible_distribution == "Fedora" or ansible_distribution == "Debian"
|
2020-06-11 10:09:17 +00:00
|
|
|
- name: Add to-do list launcher
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.template:
|
2020-06-11 10:09:17 +00:00
|
|
|
src: todo.desktop
|
|
|
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"
|
2020-06-23 10:10:23 +00:00
|
|
|
- name: Copy .xbindkeysrc
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.copy:
|
2020-06-23 10:10:23 +00:00
|
|
|
src: "xbindkeysrc"
|
|
|
|
dest: "{{ ansible_env.HOME }}/.xbindkeysrc"
|
2021-02-01 13:18:50 +00:00
|
|
|
- name: Add custom Chromium launcher
|
2021-02-19 20:32:22 +00:00
|
|
|
ansible.builtin.template:
|
2021-02-01 13:18:50 +00:00
|
|
|
src: chromium-browser.desktop
|
|
|
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop"
|
|
|
|
vars:
|
|
|
|
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|