summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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