summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/cron/tasks/main.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/cron/tasks/main.yml b/roles/cron/tasks/main.yml
new file mode 100644
index 0000000..0750993
--- /dev/null
+++ b/roles/cron/tasks/main.yml
@@ -0,0 +1,32 @@
1---
2- name: xdg runtime env
3 cron:
4 name: XDG_RUNTIME_DIR
5 env: true
6 job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}"
7- name: xdg current desktop env
8 cron:
9 name: XDG_CURRENT_DESKTOP
10 env: true
11 job: LXDE
12- name: desktop session env
13 cron:
14 name: DESKTOP_SESSION
15 env: true
16 job: LXDE
17- name: display env
18 cron:
19 name: DISPLAY
20 env: true
21 job: ":0"
22- name: xauthority env
23 cron:
24 name: XAUTHORITY
25 env: true
26 job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}/Xauthority"
27- name: change wallpaper
28 cron:
29 name: change wallpaper
30 minute: 0
31 job: 'pcmanfm -w `ls -d -1 $HOME/Backgrounds/* | shuf -n 1`'
32