summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/cron/tasks/main.yml32
-rw-r--r--site.yml1
2 files changed, 33 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
diff --git a/site.yml b/site.yml
index f05b960..87f4858 100644
--- a/site.yml
+++ b/site.yml
@@ -21,4 +21,5 @@
21 - lxde 21 - lxde
22 - tools 22 - tools
23 - gnupg 23 - gnupg
24 - cron
24 - contexts/fretlink 25 - contexts/fretlink