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

90 lines
3.2 KiB
YAML
Raw Normal View History

2019-10-21 08:09:44 +00:00
---
2023-01-21 19:42:51 +00:00
# Copyright 2021-2023 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.
2022-08-18 15:57:20 +00:00
- name: Create $HOME/.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"
2022-08-18 15:57:20 +00:00
- name: Create $HOME/.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"
2022-08-18 15:57:20 +00:00
- name: Create $HOME/.fvwm/config
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2024-03-19 11:09:19 +00:00
src: fvwm3rc
dest: "{{ ansible_env.HOME }}/.fvwm/config"
2022-08-18 15:57:20 +00:00
- name: Create NetBSD $HOME/.xsession
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"
2024-03-22 20:12:13 +00:00
- name: Create FreeBSD $HOME/.xsession
ansible.builtin.copy:
src: xsession-freebsd
dest: "{{ ansible_env.HOME }}/.xsession"
when: ansible_system == "FreeBSD"
2022-08-18 15:57:20 +00:00
- name: Create NetBSD $HOME/.xinitrc
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"
2022-08-18 15:57:20 +00:00
- name: Create $XDG_CONFIG_HOME/autostart/xrdb.desktop
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2020-04-12 21:25:16 +00:00
src: "xrdb.desktop"
2022-08-18 15:37:57 +00:00
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/autostart/xrdb.desktop"
2020-04-20 09:25:31 +00:00
when: ansible_distribution == "Fedora" or ansible_distribution == "Debian"
2022-08-18 15:57:20 +00:00
- name: Create $HOME/.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"
2022-08-18 15:57:20 +00:00
- name: Create $XDG_CONFIG_HOME/fontconfig/fonts.conf
2021-09-27 21:32:36 +00:00
ansible.builtin.copy:
src: "fonts.conf"
2022-08-18 15:37:57 +00:00
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig/fonts.conf"
2023-08-19 21:01:05 +00:00
- name: Create $HOME/.icewm
ansible.builtin.copy:
2023-08-19 21:07:35 +00:00
src: "icewm/"
2023-08-19 21:01:05 +00:00
dest: "{{ ansible_env.HOME }}/.icewm"
2023-09-11 20:01:25 +00:00
mode: preserve
2023-09-11 19:42:58 +00:00
- name: Create $XDG_CONFIG_HOME/picom.conf
2023-09-11 19:41:02 +00:00
ansible.builtin.copy:
2023-09-11 19:42:58 +00:00
src: "picom.conf"
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/picom.conf"
2024-06-05 11:38:18 +00:00
- name: Create $XDG_DATA_HOME/wallpaper-light.svg
ansible.builtin.copy:
2024-06-05 11:38:18 +00:00
src: "wallpaper-light.svg"
dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper-light.svg"
- name: Create $XDG_DATA_HOME/wallpaper-dark.svg
ansible.builtin.copy:
src: "wallpaper-dark.svg"
dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper-dark.svg"
2024-06-05 13:28:31 +00:00
- name: Create $HOME/.face
ansible.builtin.copy:
2024-06-06 16:03:48 +00:00
src: "face.svg"
2024-06-05 13:28:31 +00:00
dest: "{{ ansible_env.HOME }}/.face"
2024-10-28 08:30:43 +00:00
- name: Create $XDG_DATA_HOME/pwsh-gnome.desktop
2024-10-02 12:45:35 +00:00
ansible.builtin.copy:
2024-10-28 08:30:43 +00:00
src: "pwsh-gnome.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh-gnome.desktop"
- name: Create $XDG_DATA_HOME/pwsh-kde.desktop
ansible.builtin.copy:
src: "pwsh-kde.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh-kde.desktop"
- name: Create $XDG_DATA_HOME/icons/pwsh.svg
ansible.builtin.copy:
src: "pwsh.svg"
dest: "{{ ansible_env.XDG_DATA_HOME }}/icons/pwsh.svg"