浏览代码

option to copy all background images

systemd-xsession
父节点
当前提交
3fa8b60a38
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. +1
    -0
      defaults/main.yaml
  2. +6
    -0
      tasks/background.yaml

+ 1
- 0
defaults/main.yaml 查看文件

@@ -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 查看文件

@@ -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