feat: add xdg user dirs configuration
This commit is contained in:
parent
4f207431e9
commit
6a6377201d
3 changed files with 15 additions and 0 deletions
8
roles/desktop/files/user-dirs.dirs
Normal file
8
roles/desktop/files/user-dirs.dirs
Normal 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"
|
|
@ -8,3 +8,5 @@
|
|||
import_tasks: dunst.yml
|
||||
- name: Swaylock
|
||||
import_tasks: swaylock.yml
|
||||
- name: Configure XDG
|
||||
import_tasks: xdg.yml
|
||||
|
|
5
roles/desktop/tasks/xdg.yml
Normal file
5
roles/desktop/tasks/xdg.yml
Normal 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'
|
Loading…
Reference in a new issue