-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpicGaz.conf.yml
42 lines (34 loc) · 1.26 KB
/
picGaz.conf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
meta: |
this is a config file for python script for win10_login_screen_picture
gathering version 3.0
feel free to write the plan schema inside a list or dict
and just modify the calling style to fit it.
note that if you write plans like this:
plans:
- plan_name:
src: ...
you should write the calling like this:
for p in config['plans']:
for k,v in p.items():
UNIQUE_PIC_COPY(v)
...
it is ugly... so the following style is recommended.
plans:
- name: win10_log_pic
src: ~/AppData/Local/Packages/Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy/LocalState/Assets
dst: e:/diva\materials.资源文件/pics.图片/w10logpics
hash_algorithm: sha256
filters:
# if pictures' minimal border is >= this size, then it will be copied.
# that's because windows 10's login pictures has two dimensions within the asset folder.
# unit: pixel
min_border_px: 1024
- name: test
src: ~/Desktop/srcTest
dst: ~/Downloads/w10logpics
hash_algorithm: sha256
filters:
# if pictures' minimal border is >= this size, then it will be copied.
# that's because windows 10's login pictures has two dimensions within the asset folder.
# unit: pixel
min_border_px: 1024