Add vscodium artifacts for sync'ing settings and extensions
This commit is contained in:
11
Makefile
11
Makefile
@@ -32,6 +32,17 @@ scripts:
|
||||
cp starship.toml ~/.config/starship.toml
|
||||
sed -i "s/#XXXXXX/$(STARSHIP_COLOR)/g" ~/.config/starship.toml
|
||||
|
||||
.PHONY: vscodium
|
||||
vscodium:
|
||||
mkdir --parents ~/.config/VSCodium/User
|
||||
cp vscodium/settings.json ~/.config/VSCodium/User/settings.json
|
||||
cp vscodium/keybindings.json ~/.config/VSCodium/User/keybindings.json
|
||||
|
||||
toolbox create --image $(REPOSITORY):latest vscodium-setup-temp
|
||||
toolbox run --container vscodium-setup-temp bash $(PWD)/vscodium/extensions.bash
|
||||
podman stop vscodium-setup-temp
|
||||
podman rm vscodium-setup-temp
|
||||
|
||||
install: container scripts
|
||||
systemctl --user enable podman.sock --now
|
||||
systemctl --user enable podman.service --now
|
||||
|
||||
Reference in New Issue
Block a user