Skip to content

Commit

Permalink
feat: ship default vscode settings.json (ublue-os#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobslept authored Sep 28, 2023
1 parent 81a879c commit 88f7f0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dx/usr/etc/profile.d/vscode-bluefin-profile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if test "$(id -u)" -gt "0" && test -d "$HOME"; then
# Add default settings when there are no settings
if test ! -e "$HOME"/.config/Code/User/settings.json; then
mkdir -p "$HOME"/.config/Code/User
cp -f /etc/skel.d/.config/Code/User/settings.json "$HOME"/.config/Code/User/settings.json
fi
fi
6 changes: 6 additions & 0 deletions dx/usr/etc/skel.d/.config/Code/User/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dev.containers.dockerComposePath": "podman-compose",
"dev.containers.dockerPath": "podman",
"window.titleBarStyle": "custom",
"editor.fontFamily": "'CaskaydiaCove Nerd Font Mono', 'Droid Sans Mono', 'monospace', monospace"
}

0 comments on commit 88f7f0a

Please sign in to comment.