Skip to content

Commit cfb3bbb

Browse files
committed
indent
1 parent 46f104a commit cfb3bbb

File tree

7 files changed

+149
-149
lines changed

7 files changed

+149
-149
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"files.autoSave": "onFocusChange",
3-
"editor.fontFamily": "Hack Nerd Font Mono",
4-
"workbench.startupEditor": "none",
5-
"explorer.confirmDelete": false,
6-
"workbench.productIconTheme": "material-product-icons",
7-
"workbench.iconTheme": "catppuccin-macchiato",
8-
"workbench.colorTheme": "Panda Syntax",
9-
"editor.fontLigatures": true,
10-
"files.eol": "\n",
11-
"git.enableSmartCommit": true,
12-
"explorer.confirmDragAndDrop": false,
13-
"texlab.build.executable": "tectonic",
14-
"texlab.build.args": [
15-
"-X",
16-
"compile",
17-
"%f",
18-
"--synctex",
19-
"--keep-logs",
20-
"--keep-intermediates"
21-
],
22-
"texlab.build.onSave": true,
23-
"redhat.telemetry.enabled": false,
24-
"git.autofetch": true
25-
}
2+
"files.autoSave": "onFocusChange",
3+
"editor.fontFamily": "Hack Nerd Font Mono",
4+
"workbench.startupEditor": "none",
5+
"explorer.confirmDelete": false,
6+
"workbench.productIconTheme": "material-product-icons",
7+
"workbench.iconTheme": "catppuccin-macchiato",
8+
"workbench.colorTheme": "Panda Syntax",
9+
"editor.fontLigatures": true,
10+
"files.eol": "\n",
11+
"git.enableSmartCommit": true,
12+
"explorer.confirmDragAndDrop": false,
13+
"texlab.build.executable": "tectonic",
14+
"texlab.build.args": [
15+
"-X",
16+
"compile",
17+
"%f",
18+
"--synctex",
19+
"--keep-logs",
20+
"--keep-intermediates"
21+
],
22+
"texlab.build.onSave": true,
23+
"redhat.telemetry.enabled": false,
24+
"git.autofetch": true
25+
}

Other/LinuxAdventures/FedoraGnome/bootstrap.sh

+47-47
Original file line numberDiff line numberDiff line change
@@ -2,78 +2,78 @@ set -o nounset
22
export OS_USERNAME="${1}"
33

44
configure_user() {
5-
# p10k
6-
[[ -d ~/powerlevel10k ]] || git clone \
7-
https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k --depth 1
8-
9-
# Dotfiles
10-
if [ ${OS_USERNAME} = "vagrant" ]; then
11-
cp -r /vagrant/Home/.* ~/
12-
else
13-
cp -Lr ./Home/.* ~/
14-
fi
5+
# p10k
6+
[[ -d ~/powerlevel10k ]] || git clone \
7+
https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k --depth 1
8+
9+
# Dotfiles
10+
if [ ${OS_USERNAME} = "vagrant" ]; then
11+
cp -r /vagrant/Home/.* ~/
12+
else
13+
cp -Lr ./Home/.* ~/
14+
fi
1515

16-
# System-level Python packages
17-
pip3 install requests pyyaml
16+
# System-level Python packages
17+
pip3 install requests pyyaml
1818

19-
# Rust packages
20-
cargo install krabby
19+
# Rust packages
20+
cargo install krabby
2121

22-
# Git pre-setup
23-
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -f ~/.ssh/id_rsa -q -N ""
24-
mkdir -p ~/Projects
22+
# Git pre-setup
23+
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -f ~/.ssh/id_rsa -q -N ""
24+
mkdir -p ~/Projects
2525
}
2626

2727
get_docker() {
28-
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
29-
dnf install -y docker-ce docker-ce-cli containerd.io \
30-
docker-buildx-plugin docker-compose-plugin
31-
echo '{"default-address-pools":[{"base":"10.2.0.0/16","size":24}]}' > \
32-
/etc/docker/daemon.json
33-
systemctl restart docker
34-
systemctl enable docker
35-
usermod -aG docker ${OS_USERNAME}
28+
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
29+
dnf install -y docker-ce docker-ce-cli containerd.io \
30+
docker-buildx-plugin docker-compose-plugin
31+
echo '{"default-address-pools":[{"base":"10.2.0.0/16","size":24}]}' > \
32+
/etc/docker/daemon.json
33+
systemctl restart docker
34+
systemctl enable docker
35+
usermod -aG docker ${OS_USERNAME}
3636
}
3737

3838
# Base repo packages
3939
dnf update -y
4040
dnf install --setopt=install_weak_deps=false -y \
41-
tree vim make dnf-plugins-core util-linux-user \
42-
figlet zsh asciiquarium cronie rust cargo fzf just \
43-
python3-setuptools python3-pip kubernetes-client \
44-
wget awscli2 openssl asciinema lolcat zip gzip \
45-
tar jq zsh-autosuggestions git eza poetry htop \
46-
python3-wheel gnupg gcc clang curl postgresql \
47-
ca-certificates dnsutils cmatrix ranger cmake
41+
tree vim make dnf-plugins-core util-linux-user \
42+
figlet zsh asciiquarium cronie rust cargo fzf just \
43+
python3-setuptools python3-pip kubernetes-client \
44+
wget awscli2 openssl asciinema lolcat zip gzip \
45+
tar jq zsh-autosuggestions git eza poetry htop \
46+
python3-wheel gnupg gcc clang curl postgresql \
47+
ca-certificates dnsutils cmatrix ranger cmake
4848

4949
# Docker
5050
docker ps &> /dev/null || get_docker
5151

5252
# External executables
5353
wget -qO /usr/local/bin/yq \
54-
https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
54+
https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
5555
chmod +x /usr/local/bin/yq
5656

5757
wget -qO /usr/local/bin/pfetch \
58-
https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch
58+
https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch
5959
chmod +x /usr/local/bin/pfetch
6060

6161
if [ ${OS_USERNAME} = "vagrant" ]; then
62-
# De-bloat
63-
hostnamectl hostname fedora
64-
> /etc/motd
65-
grep "#PrintLastLog yes" /etc/ssh/sshd_config \
66-
&& sed -i "s/#PrintLastLog yes/PrintLastLog no/" /etc/ssh/sshd_config \
67-
&& systemctl restart sshd
68-
69-
# Ensure the filesystem takes all the space
70-
growpart /dev/sda 2 || true
71-
xfs_growfs /dev/sda2 || true
62+
# De-bloat
63+
hostnamectl hostname fedora
64+
> /etc/motd
65+
grep "#PrintLastLog yes" /etc/ssh/sshd_config \
66+
&& sed -i "s/#PrintLastLog yes/PrintLastLog no/" /etc/ssh/sshd_config \
67+
&& systemctl restart sshd
68+
69+
# Ensure the filesystem takes all the space
70+
growpart /dev/sda 2 || true
71+
xfs_growfs /dev/sda2 || true
7272

73-
# Flex
74-
dnf install -y neofetch
73+
# Flex
74+
dnf install -y neofetch
7575
else
76-
dnf install -y fastfetch
76+
dnf install -y fastfetch
7777
fi
7878

7979
# Regular user configuration

Other/LinuxAdventures/TumbleweedPlasma/bootstrap.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
set -euxo pipefail
22

33
get_executable() {
4-
wget -qO "$1" "$2"
5-
chmod +x "$1"
4+
wget -qO "$1" "$2"
5+
chmod +x "$1"
66
}
77

88
get_repo() {
9-
cd "$1" && git pull || git clone "$2" "$1"
9+
cd "$1" && git pull || git clone "$2" "$1"
1010
}
1111

1212
cp -r ~/gchait/Linux/Home/.* ~/
@@ -19,12 +19,12 @@ zypper addrepo https://yum.corretto.aws/corretto.repo 2> /dev/null || true
1919
zypper ref
2020

2121
zypper in -y \
22-
docker docker-buildx docker-compose vim netcat-openbsd \
23-
zsh neofetch eza fastfetch figlet yq just ripgrep asciinema \
24-
java-21-amazon-corretto-devel wget bind-utils gron helm jq
22+
docker docker-buildx docker-compose vim netcat-openbsd \
23+
zsh neofetch eza fastfetch figlet yq just ripgrep asciinema \
24+
java-21-amazon-corretto-devel wget bind-utils gron helm jq
2525

2626
get_executable /usr/local/bin/pfetch \
27-
"https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch"
27+
"https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch"
2828

2929
get_repo ~/.zsh/pure https://github.com/sindresorhus/pure.git
3030
get_repo ~/.zsh/zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting

Other/LinuxAdventures/TumbleweedPlasma/graphical.sh

+14-14
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ opi codecs
88
# flatpak install com.github.tchx84.Flatseal com.valvesoftware.Steam
99

1010
code_exts() {
11-
code --install-extension catppuccin.catppuccin-vsc-icons
12-
code --install-extension eamodio.gitlens
13-
code --install-extension ecmel.vscode-html-css
14-
code --install-extension esbenp.prettier-vscode
15-
code --install-extension hashicorp.terraform
16-
code --install-extension kokakiwi.vscode-just
17-
code --install-extension ms-azuretools.vscode-docker
18-
code --install-extension ms-kubernetes-tools.vscode-kubernetes-tools
19-
code --install-extension ms-pyright.pyright
20-
code --install-extension pkief.material-product-icons
21-
code --install-extension redhat.vscode-yaml
22-
code --install-extension samuelcolvin.jinjahtml
23-
code --install-extension tamasfe.even-better-toml
24-
code --install-extension tinkertrain.theme-panda
11+
code --install-extension catppuccin.catppuccin-vsc-icons
12+
code --install-extension eamodio.gitlens
13+
code --install-extension ecmel.vscode-html-css
14+
code --install-extension esbenp.prettier-vscode
15+
code --install-extension hashicorp.terraform
16+
code --install-extension kokakiwi.vscode-just
17+
code --install-extension ms-azuretools.vscode-docker
18+
code --install-extension ms-kubernetes-tools.vscode-kubernetes-tools
19+
code --install-extension ms-pyright.pyright
20+
code --install-extension pkief.material-product-icons
21+
code --install-extension redhat.vscode-yaml
22+
code --install-extension samuelcolvin.jinjahtml
23+
code --install-extension tamasfe.even-better-toml
24+
code --install-extension tinkertrain.theme-panda
2525
}
2626

2727
code_exts > /dev/null

0 commit comments

Comments
 (0)