Browse Source

option to copy all background images

systemd-xsession
parent
commit
3fa8b60a38
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      defaults/main.yaml
  2. +6
    -0
      tasks/background.yaml

+ 1
- 0
defaults/main.yaml View File

@@ -48,3 +48,4 @@ calculator_command: "{{default_browser}} --new-window https://www.geogebra.org/c
mail_command: thunderbird

background_image: false
home_copy_all_background_images: false

+ 6
- 0
tasks/background.yaml View File

@@ -11,3 +11,9 @@
src: "{{background_image}}"
dest: "{{background_image_path}}"
when: background_image is defined

- name: copy all background images
synchronize:
src: ~/.backgrounds/
dest: ~/.backgrounds/
when: home_copy_all_background_images