mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
create xdg user dirs
Users who think the default directories are stupid will want to create a
~/.config/user-dirs.dirs file to specify alternatives, or to disable
certain directories. Disable directories by pointing them toward your
home dir: https://freedesktop.org/wiki/Software/xdg-user-dirs/#settings
Example:
7182e0d787
closes #45
This commit is contained in:
parent
832ca91ebf
commit
07d93dee42
2 changed files with 13 additions and 0 deletions
|
|
@ -30,3 +30,4 @@
|
|||
- include: srandrd.yml
|
||||
- include: termite.yml
|
||||
- include: autocutsel.yml
|
||||
- include: xdg.yml
|
||||
|
|
|
|||
12
roles/x/tasks/xdg.yml
Normal file
12
roles/x/tasks/xdg.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- name: Install xdg-user-dirs
|
||||
pacman: name=xdg-user-dirs state=present
|
||||
tags:
|
||||
- xdg
|
||||
|
||||
- name: Create user directories
|
||||
command: /usr/bin/xdg-user-dirs-update
|
||||
become: yes
|
||||
become_user: "{{ user.name }}"
|
||||
tags:
|
||||
- xdg
|
||||
Loading…
Add table
Add a link
Reference in a new issue