diff --git a/CHANGELOG.md b/CHANGELOG.md index cc4cc05..fc974bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to date versioning. - Fixed i3lock re-using the last image - Set up /etc/environment sharing - Added in greenclip again +- added after install and syncLocalSettings.json ## [2022-07-26] diff --git a/README.md b/README.md index 5d58225..dffe866 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Older versions: | OS | Arch Linux | | Terminal | xfce4-terminal | | Editor | nano | -| Code editor | vscode / jetbrains stuff | +| Code editor | vscode | | Browser | Firefox | | File manager | If I have to use one ... Nautilus | | Music | Tidal through [Tidal-hifi](https://github.com/Mastermindzh/tidal-hifi) | @@ -49,3 +49,7 @@ Some things are handled by window class/title or have custom resolutions set, th ## getting icons Copy/paste icons from this url: [https://fontawesome.com/v5/cheatsheet](https://fontawesome.com/v5/cheatsheet) + +## after-install + +After install read [./docs/afterinstall.md](./docs/afterinstall.md) diff --git a/config/code/syncLocalSettings.json b/config/code/syncLocalSettings.json new file mode 100644 index 0000000..e0012f0 --- /dev/null +++ b/config/code/syncLocalSettings.json @@ -0,0 +1,35 @@ +{ + "ignoreUploadFiles": [ + "state.*", + "syncLocalSettings.json", + ".DS_Store", + "sync.lock", + "projects.json", + "projects_cache_vscode.json", + "projects_cache_git.json", + "projects_cache_svn.json", + "gpm_projects.json", + "gpm-recentItems.json" + ], + "ignoreUploadFolders": [ + "workspaceStorage", + "History", + "globalStorage", + "GlobalStorage" + ], + "ignoreExtensions": [], + "gistDescription": "Visual Studio Code Settings Sync Gist", + "downloadPublicGist": false, + "supportedFileExtensions": [ + "json", + "code-snippets" + ], + "openTokenLink": true, + "disableUpdateMessage": false, + "githubEnterpriseUrl": null, + "askGistDescription": false, + "customFiles": {}, + "hostName": null, + "universalKeybindings": false, + "autoUploadDelay": 20 +} \ No newline at end of file diff --git a/docs/afterinstall.md b/docs/afterinstall.md new file mode 100644 index 0000000..15abd53 --- /dev/null +++ b/docs/afterinstall.md @@ -0,0 +1,20 @@ +# after install + + + +- [Set up vscode settings sync + globalstorage](#set-up-vscode-settings-sync--globalstorage) + + + +## Set up vscode settings sync + globalstorage + +After setting up settings sync make sure that the "ignoreUploadFolders" in [~/.config/Code/User/syncLocalSettings.json](~/.config/Code/User/syncLocalSettings.json) includes "globalstorages": + +```sh + "ignoreUploadFolders": [ + "workspaceStorage", + "History", + "globalStorage", + "GlobalStorage" + ], +``` diff --git a/install.sh b/install.sh index 2fc7237..0186b2c 100644 --- a/install.sh +++ b/install.sh @@ -117,6 +117,9 @@ function install_config { echo "" >~/.custom echo "" >~/.variables + # files to be copied once + cp "$PWD"/config/code/syncLocalSettings.json ~/.config/Code/User/ + # system fixes echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system mkdir -p ~/Pictures/Screenshots