summaryrefslogblamecommitdiff
path: root/roles/cron/tasks/main.yml
blob: b93c0b77764d36d869d900f0f792ff8857f4c56a (plain) (tree)
1
   


























                                                                





                                                                
---
- name: environment variables
  block:
    - name: xdg runtime env
      cron:
        name: XDG_RUNTIME_DIR
        env: true
        job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}"
    - name: xdg current desktop env
      cron:
        name: XDG_CURRENT_DESKTOP
        env: true
        job: LXDE
    - name: desktop session env
      cron:
        name: DESKTOP_SESSION
        env: true
        job: LXDE
    - name: display env
      cron:
        name: DISPLAY
        env: true
        job: ":0"
    - name: xauthority env
      cron:
        name: XAUTHORITY
        env: true
        job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}/Xauthority"
- name: change wallpaper
  cron:
    name: change wallpaper
    minute: 0
    job: 'pcmanfm -w `ls -d -1 $HOME/Backgrounds/* | shuf -n 1`'