From ff4fb75304dde7608e723d5ea8c5ea0862d5abf3 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Tue, 15 Apr 2025 20:41:19 -0500 Subject: [PATCH] + dbgate --- dots/dbgate/connections.jsonl | 5 +++++ dots/dbgate/settings.json | 21 +++++++++++++++++++++ scripts/99_deploy.sh | 7 +++++++ 3 files changed, 33 insertions(+) create mode 100644 dots/dbgate/connections.jsonl create mode 100644 dots/dbgate/settings.json diff --git a/dots/dbgate/connections.jsonl b/dots/dbgate/connections.jsonl new file mode 100644 index 0000000..4dd61c6 --- /dev/null +++ b/dots/dbgate/connections.jsonl @@ -0,0 +1,5 @@ +// the correct connections.jsonl file is NOT stored in this repo. instead, it is located here: +// `/home/poq/syncDir/secrets/dbgate/connections.jsonl` +// +// and, from `99_deploy.sh`: +// `cp /home/${system_user}/syncDir/secrets/dbgate/connections.jsonl ${file_path}/` \ No newline at end of file diff --git a/dots/dbgate/settings.json b/dots/dbgate/settings.json new file mode 100644 index 0000000..10ea756 --- /dev/null +++ b/dots/dbgate/settings.json @@ -0,0 +1,21 @@ +{ + "app.useNativeMenu": false, + "currentEditorTheme": "cobalt", + "other.licenseKey": null, + "currentEditorFontSize": "12", + "dataGrid.thousandsSeparator": false, + "commands": { + "query.executeCurrent": { + "keyText": "CtrlOrCommand+Enter", + "customKeyboardShortcut": true + }, + "query.execute": { + "keyText": "F5 | CtrlOrCommand+Shift+Enter", + "customKeyboardShortcut": true + }, + "shell.execute": { + "keyText": "F5 | CtrlOrCommand+Shift+Enter", + "customKeyboardShortcut": true + } + } +} \ No newline at end of file diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index e0e003e..7e81200 100755 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -283,6 +283,13 @@ if [ ${operation} == "dots" ] ; then # programs # ---------- + # dbgate + file_name=settings.json + file_path=/home/${system_user}/.dbgate + create_dir ${file_path} + deploy_file "${dots_trg}/dbgate/${file_name}" "${file_path}/${file_name}" + cp /home/${system_user}/syncDir/secrets/dbgate/connections.jsonl ${file_path}/ + # dunst file_name=dunstrc file_path=/home/${system_user}/.config/dunst