workstation/roles/home-gui/tasks/dotfiles.yml

48 lines
1.4 KiB
YAML
Raw Normal View History

2019-10-21 08:09:44 +00:00
---
- 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"
2019-11-20 10:26:13 +00:00
- 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"
2019-11-10 17:39:26 +00:00
- 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
2020-01-22 09:40:29 +00:00
when: ansible_system == "NetBSD"
2020-04-20 09:26:27 +00:00
- name: Load ~/.Xresources
2020-04-12 21:25:16 +00:00
copy:
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
template:
src: todo.desktop
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"
2020-06-23 10:10:23 +00:00
- name: Copy .xbindkeysrc
copy:
src: "xbindkeysrc"
dest: "{{ ansible_env.HOME }}/.xbindkeysrc"
2021-02-01 13:18:50 +00:00
- 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' }}"