--- # 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. - name: Create $HOME/.Xresources ansible.builtin.copy: src: Xresources dest: "{{ ansible_env.HOME }}/.Xresources" - name: Create $HOME/.stalonetrayrc ansible.builtin.copy: src: stalonetrayrc dest: "{{ ansible_env.HOME }}/.stalonetrayrc" - name: Create $HOME/.fvwm/config ansible.builtin.copy: src: fvwm3rc dest: "{{ ansible_env.HOME }}/.fvwm/config" - name: Create NetBSD $HOME/.xsession ansible.builtin.copy: src: xsession-netbsd dest: "{{ ansible_env.HOME }}/.xsession" when: ansible_system == "NetBSD" - name: Create FreeBSD $HOME/.xsession ansible.builtin.copy: src: xsession-freebsd dest: "{{ ansible_env.HOME }}/.xsession" when: ansible_system == "FreeBSD" - name: Create NetBSD $HOME/.xinitrc ansible.builtin.file: src: ".xsession" dest: "{{ ansible_env.HOME }}/.xinitrc" state: link when: ansible_system == "NetBSD" - name: Create $XDG_CONFIG_HOME/autostart/xrdb.desktop ansible.builtin.copy: src: "xrdb.desktop" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/autostart/xrdb.desktop" when: ansible_distribution == "Fedora" or ansible_distribution == "Debian" - name: Create $HOME/.xbindkeysrc ansible.builtin.copy: src: "xbindkeysrc" dest: "{{ ansible_env.HOME }}/.xbindkeysrc" - name: Create $XDG_CONFIG_HOME/fontconfig/fonts.conf ansible.builtin.copy: src: "fonts.conf" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig/fonts.conf" - name: Create $HOME/.icewm ansible.builtin.copy: src: "icewm/" dest: "{{ ansible_env.HOME }}/.icewm" mode: preserve - name: Create $XDG_CONFIG_HOME/picom.conf ansible.builtin.copy: src: "picom.conf" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/picom.conf" - name: Create $XDG_DATA_HOME/wallpaper-light.svg ansible.builtin.copy: 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" - name: Create $HOME/.face ansible.builtin.copy: src: "face.svg" dest: "{{ ansible_env.HOME }}/.face" - name: Create $XDG_DATA_HOME/pwsh-gnome.desktop ansible.builtin.copy: 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" - name: Create $XDG_DATA_HOME/konsole/* ansible.builtin.copy: src: "konsole/" dest: "{{ ansible_env.XDG_DATA_HOME }}/konsole" - name: Create $XDG_DATA_HOME/applications/mc.desktop ansible.builtin.copy: src: "mc.desktop" dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/mc.desktop" - name: Create $HOME/.local/bin/nvimw ansible.builtin.copy: src: "nvimw" dest: "{{ ansible_env.HOME }}/.local/bin/nvimw"