feat: add xdg user dirs configuration

This commit is contained in:
Ivan R. 2024-04-16 17:31:00 +05:00
parent 4f207431e9
commit 6a6377201d
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,8 @@
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

View file

@ -8,3 +8,5 @@
import_tasks: dunst.yml import_tasks: dunst.yml
- name: Swaylock - name: Swaylock
import_tasks: swaylock.yml import_tasks: swaylock.yml
- name: Configure XDG
import_tasks: xdg.yml

View file

@ -0,0 +1,5 @@
- name: Copy xdg dirs config file
ansible.builtin.copy:
src: files/user-dirs.dirs
dest: "{{ ansible_env.HOME }}/.config/user-dirs.dirs"
mode: '0660'