2019-10-21 08:09:44 +00:00
|
|
|
---
|
2021-02-19 22:55:57 +00:00
|
|
|
# Copyright 2021 Anthony Perkins
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
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' }}"
|
2021-03-18 10:07:12 +00:00
|
|
|
- name: Add custom Chromium Snap launcher
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: "chromium_chromium.desktop"
|
|
|
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium_chromium.desktop"
|
2021-03-09 17:27:06 +00:00
|
|
|
- name: Add GVim COC launcher
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: gvim-coc.desktop
|
|
|
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/gvim-coc.desktop"
|