Add dccnt
This commit is contained in:
parent
c3a9f0dd1c
commit
81e8fa756e
14
.config/dcnnt/conf.json
Normal file
14
.config/dcnnt/conf.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"log": {
|
||||||
|
"path": "$HOME/.log/dcnnt.log",
|
||||||
|
"size": 262144,
|
||||||
|
"count": 3
|
||||||
|
},
|
||||||
|
"self": {
|
||||||
|
"uin": 450,
|
||||||
|
"name": "envy",
|
||||||
|
"description": "",
|
||||||
|
"password": "lttrtlhcea"
|
||||||
|
},
|
||||||
|
"port": 5040
|
||||||
|
}
|
7
.config/dcnnt/devices/109589590.device.json
Normal file
7
.config/dcnnt/devices/109589590.device.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"name": "Pixel 6A",
|
||||||
|
"password": "P[B@743efe4",
|
||||||
|
"role": "client",
|
||||||
|
"uin": 109589590
|
||||||
|
}
|
11
.config/dcnnt/plugins/file.conf.json
Normal file
11
.config/dcnnt/plugins/file.conf.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"download_directory": "/home/tyler/Downloads",
|
||||||
|
"shared_dirs": [
|
||||||
|
{
|
||||||
|
"path": "/home/tyler/Downloads",
|
||||||
|
"name": "Shared",
|
||||||
|
"glob": "*",
|
||||||
|
"deep": 1024
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
3
.config/dcnnt/plugins/nots.conf.json
Normal file
3
.config/dcnnt/plugins/nots.conf.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"cmd": "notify-send -i '{icon}' '{title}' '{text}'"
|
||||||
|
}
|
9
.config/dcnnt/plugins/open.conf.json
Normal file
9
.config/dcnnt/plugins/open.conf.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"file": {
|
||||||
|
"download_directory": "/tmp/dcnnt/to_open",
|
||||||
|
"default_cmd": "xdg-open \"{path}\""
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"default_cmd": "xdg-open \"{url}\""
|
||||||
|
}
|
||||||
|
}
|
45
.config/dcnnt/plugins/rcmd.conf.json
Normal file
45
.config/dcnnt/plugins/rcmd.conf.json
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"menu": [
|
||||||
|
{
|
||||||
|
"name": "Sync operations"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pass sync",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "pass git push"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Administration"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shutdown",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "doas shutdown -h now"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Restart",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "doas restart"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lock",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "lock_with_cam.sh"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Volume up",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "pactl -- set-sink-volume 0 +5%"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Volume down",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "pactl -- set-sink-volume 0 -5%"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Toggle mute",
|
||||||
|
"method": "shell",
|
||||||
|
"cmd": "pactl -- set-sink-mute 0 toggle"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
21
.config/dcnnt/plugins/sync.conf.json
Normal file
21
.config/dcnnt/plugins/sync.conf.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"dir": [
|
||||||
|
{
|
||||||
|
"name": "Temporary",
|
||||||
|
"path": "/tmp/dcnnt/sync/files",
|
||||||
|
"on_done": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"file": [
|
||||||
|
{
|
||||||
|
"name": "Example",
|
||||||
|
"path": "/tmp/dcnnt/sync/dcnnt-example-file.txt",
|
||||||
|
"on_merge": "cat \"{local}\" \"{remote}\" > \"{output}\"",
|
||||||
|
"on_done": "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"contacts": {
|
||||||
|
"path": "/tmp/dcnnt/sync/contacts",
|
||||||
|
"backup_count": 3
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user