22 lines
805 B
Bash
22 lines
805 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ $(id -u) -eq 0 ]
|
||
|
then echo "Root access not needed"; exit
|
||
|
fi
|
||
|
|
||
|
# CLI Tools
|
||
|
$HOME/.dotfiles/auto-config-cli.sh
|
||
|
|
||
|
# Codium
|
||
|
if [ ! -f "/etc/apt/sources.list.d/vscodium.list" ]
|
||
|
then
|
||
|
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg
|
||
|
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
|
||
|
fi
|
||
|
|
||
|
sudo apt install codium
|
||
|
|
||
|
mkdir -p $HOME/.config/VSCodium/User/
|
||
|
ln -sf $HOME/.dotfiles/codium/keybindings.json $HOME/.config/VSCodium/User/keybindings.json
|
||
|
ln -sf $HOME/.dotfiles/codium/settings.json $HOME/.config/VSCodium/User/settings.json
|