47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
---
|
|
- name: Copy .Xresources
|
|
copy:
|
|
src: Xresources
|
|
dest: "{{ ansible_env.HOME }}/.Xresources"
|
|
- name: Copy .fonts.conf
|
|
copy:
|
|
src: fonts.conf
|
|
dest: "{{ ansible_env.HOME }}/.fonts.conf"
|
|
- name: Create stalonetrayrc
|
|
copy:
|
|
src: stalonetrayrc
|
|
dest: "{{ ansible_env.HOME }}/.stalonetrayrc"
|
|
- name: Create fvwm config file
|
|
copy:
|
|
src: fvwmrc
|
|
dest: "{{ ansible_env.HOME }}/.fvwm/config"
|
|
- name: Create NetBSD xsession file
|
|
copy:
|
|
src: xsession-netbsd
|
|
dest: "{{ ansible_env.HOME }}/.xsession"
|
|
when: ansible_system == "NetBSD"
|
|
- name: Create xinitrc symlink
|
|
file:
|
|
src: ".xsession"
|
|
dest: "{{ ansible_env.HOME }}/.xinitrc"
|
|
state: link
|
|
when: ansible_system == "NetBSD"
|
|
- name: Load ~/.Xresources
|
|
copy:
|
|
src: "xrdb.desktop"
|
|
dest: "{{ ansible_env.HOME }}/.config/autostart/xrdb.desktop"
|
|
when: ansible_distribution == "Fedora" or ansible_distribution == "Debian"
|
|
- name: Add to-do list launcher
|
|
template:
|
|
src: todo.desktop
|
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"
|
|
- name: Copy .xbindkeysrc
|
|
copy:
|
|
src: "xbindkeysrc"
|
|
dest: "{{ ansible_env.HOME }}/.xbindkeysrc"
|
|
- name: Add custom Chromium launcher
|
|
template:
|
|
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' }}"
|