diff --git a/.config/dcnnt/conf.json b/.config/dcnnt/conf.json new file mode 100644 index 0000000..11dffc3 --- /dev/null +++ b/.config/dcnnt/conf.json @@ -0,0 +1,14 @@ +{ + "log": { + "path": "$HOME/.log/dcnnt.log", + "size": 262144, + "count": 3 + }, + "self": { + "uin": 450, + "name": "envy", + "description": "", + "password": "lttrtlhcea" + }, + "port": 5040 +} \ No newline at end of file diff --git a/.config/dcnnt/devices/109589590.device.json b/.config/dcnnt/devices/109589590.device.json new file mode 100644 index 0000000..8f3310a --- /dev/null +++ b/.config/dcnnt/devices/109589590.device.json @@ -0,0 +1,7 @@ +{ + "description": "", + "name": "Pixel 6A", + "password": "P[B@743efe4", + "role": "client", + "uin": 109589590 +} \ No newline at end of file diff --git a/.config/dcnnt/plugins/file.conf.json b/.config/dcnnt/plugins/file.conf.json new file mode 100644 index 0000000..f08feb4 --- /dev/null +++ b/.config/dcnnt/plugins/file.conf.json @@ -0,0 +1,11 @@ +{ + "download_directory": "/home/tyler/Downloads", + "shared_dirs": [ + { + "path": "/home/tyler/Downloads", + "name": "Shared", + "glob": "*", + "deep": 1024 + } + ] +} diff --git a/.config/dcnnt/plugins/nots.conf.json b/.config/dcnnt/plugins/nots.conf.json new file mode 100644 index 0000000..752f26a --- /dev/null +++ b/.config/dcnnt/plugins/nots.conf.json @@ -0,0 +1,3 @@ +{ + "cmd": "notify-send -i '{icon}' '{title}' '{text}'" +} \ No newline at end of file diff --git a/.config/dcnnt/plugins/open.conf.json b/.config/dcnnt/plugins/open.conf.json new file mode 100644 index 0000000..3af6d96 --- /dev/null +++ b/.config/dcnnt/plugins/open.conf.json @@ -0,0 +1,9 @@ +{ + "file": { + "download_directory": "/tmp/dcnnt/to_open", + "default_cmd": "xdg-open \"{path}\"" + }, + "link": { + "default_cmd": "xdg-open \"{url}\"" + } +} \ No newline at end of file diff --git a/.config/dcnnt/plugins/rcmd.conf.json b/.config/dcnnt/plugins/rcmd.conf.json new file mode 100644 index 0000000..f4689d1 --- /dev/null +++ b/.config/dcnnt/plugins/rcmd.conf.json @@ -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" + } + ] +} diff --git a/.config/dcnnt/plugins/sync.conf.json b/.config/dcnnt/plugins/sync.conf.json new file mode 100644 index 0000000..db20b0e --- /dev/null +++ b/.config/dcnnt/plugins/sync.conf.json @@ -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 + } +} \ No newline at end of file