Added settings; implemented reading of file modes
This commit is contained in:
parent
f62008028a
commit
3d97c3b698
5 changed files with 178 additions and 38 deletions
68
data/settings_default.json
Normal file
68
data/settings_default.json
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"filemodes": {
|
||||
"all": {
|
||||
"action": "delete",
|
||||
"active": true,
|
||||
"destination": "~/Downloads/",
|
||||
"extensions": ["*"],
|
||||
"name": "All Files"
|
||||
},
|
||||
"image": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Pictures/",
|
||||
"extensions": ["jpg", "jpeg", "png", "gif", "webp"],
|
||||
"name": "Images"
|
||||
},
|
||||
"audio": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Music/",
|
||||
"extensions": ["wav", "mp3", "ogg"],
|
||||
"name": "Audio"
|
||||
},
|
||||
"video": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Videos/",
|
||||
"extensions": ["avi", "mpeg", "mp4", "webm"],
|
||||
"name": "Video"
|
||||
},
|
||||
"document": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Documents/",
|
||||
"extensions": ["txt", "doc", "docx", "pdf"],
|
||||
"name": "Documents"
|
||||
},
|
||||
"data": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Documents/data/",
|
||||
"extensions": ["json", "csv", "db"],
|
||||
"name": "Data"
|
||||
},
|
||||
"program": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Downloads/",
|
||||
"extensions": ["exe", "msi"],
|
||||
"name": "Programs"
|
||||
},
|
||||
"archive": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Downloads/",
|
||||
"extensions": ["zip", "rar", "gz"],
|
||||
"name": "Archives"
|
||||
},
|
||||
"other": {
|
||||
"action": "ignore",
|
||||
"active": true,
|
||||
"destination": "~/Downloads/",
|
||||
"extensions": [],
|
||||
"name": "Other"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue