sunhat/install/vscode.sh
2024-06-03 16:38:59 -07:00

11 lines
382 B
Bash

if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
sudo snap install code --classic
mkdir -p ~/.config/Code/User
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
# Install default supported themes
code --install-extension enkia.tokyo-night
code --install-extension jdinhlife.gruvbox
code --install-extension Catppuccin.catppuccin-vsc
fi