feat: VSCodium settings ins Profil aufgenommen

This commit is contained in:
2026-04-27 09:32:09 +02:00
parent 8a33636356
commit 7d4d8901a4
2 changed files with 37 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"workbench.secondarySideBar.defaultVisibility": "hidden",
"workbench.colorTheme": "tekki_arch",
"editor.fontFamily": "'MesloLGS Nerd Font', monospace",
"editor.fontSize": 14,
"terminal.integrated.fontFamily": "'MesloLGS Nerd Font', monospace",
"java.jdt.ls.java.home": "/home/tekki/.sdkman/candidates/java/25.0.1-amzn",
"java.configuration.runtimes": [
{
"name": "JavaSE-25",
"path": "/home/tekki/.sdkman/candidates/java/25.0.1-amzn",
"default": true
}
],
"redhat.telemetry.enabled": false,
"editor.rulers": [80, 100, 120]
}
+20
View File
@@ -22,6 +22,26 @@ for dir in "${CONFIG_DIRS[@]}"; do
echo " linked ~/.config/$dir" echo " linked ~/.config/$dir"
done done
# Symlink individual config files (for apps where only specific files are tracked)
CONFIG_FILES=(
"VSCodium/User/settings.json:.config/VSCodium/User/settings.json"
)
for entry in "${CONFIG_FILES[@]}"; do
src="${entry%%:*}"
dst="${entry##*:}"
source="$PROFILE_DIR/config/$src"
target="$HOME/$dst"
[[ ! -f "$source" ]] && continue
mkdir -p "$(dirname "$target")"
if [[ -f "$target" && ! -L "$target" ]]; then
echo " backing up $target -> ${target}.bak"
mv "$target" "${target}.bak"
fi
ln -sf "$source" "$target"
echo " linked ~/$dst"
done
# Set active profile # Set active profile
ln -sfn "$PROFILE_DIR" "$HOME/.active_profile" ln -sfn "$PROFILE_DIR" "$HOME/.active_profile"
echo " active profile -> $PROFILE_NAME" echo " active profile -> $PROFILE_NAME"