summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-18 13:14:52 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-18 13:20:49 +0100
commitcc3bfc1e324cfe44aae189d131b93f16d051bcee (patch)
treeb2ab50eed4e5741012be37b39cc9a63cc3207049 /roles
parent853c14457ef51fbca58f9c4fb5c1a255e68d7c87 (diff)
downloadAnsible-cc3bfc1e324cfe44aae189d131b93f16d051bcee.tar.gz
Ansible-cc3bfc1e324cfe44aae189d131b93f16d051bcee.tar.zst
Ansible-cc3bfc1e324cfe44aae189d131b93f16d051bcee.zip
Move background files to XDG_DATA_HOME
Diffstat (limited to 'roles')
-rw-r--r--roles/cron/tasks/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/cron/tasks/main.yml b/roles/cron/tasks/main.yml
index b93c0b7..74726b9 100644
--- a/roles/cron/tasks/main.yml
+++ b/roles/cron/tasks/main.yml
@@ -6,6 +6,11 @@
6 name: XDG_RUNTIME_DIR 6 name: XDG_RUNTIME_DIR
7 env: true 7 env: true
8 job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}" 8 job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}"
9 - name: xdg data env
10 cron:
11 name: XDG_DATA_HOME
12 env: true
13 job: "{{ lookup('env', 'XDG_DATA_HOME') }}"
9 - name: xdg current desktop env 14 - name: xdg current desktop env
10 cron: 15 cron:
11 name: XDG_CURRENT_DESKTOP 16 name: XDG_CURRENT_DESKTOP
@@ -30,5 +35,5 @@
30 cron: 35 cron:
31 name: change wallpaper 36 name: change wallpaper
32 minute: 0 37 minute: 0
33 job: 'pcmanfm -w `ls -d -1 $HOME/Backgrounds/* | shuf -n 1`' 38 job: 'pcmanfm -w `ls -d -1 $XDG_DATA_HOME/backgrounds/* | shuf -n 1`'
34 39