Compare commits
2 commits
4f207431e9
...
36a227e368
Author | SHA1 | Date | |
---|---|---|---|
36a227e368 | |||
6a6377201d |
4 changed files with 16 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'
|
|
@ -21,3 +21,4 @@ if [ -d "$HOME/.local/bin" ] ; then
|
|||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
|
|
Loading…
Reference in a new issue