Add initial scripts

This commit is contained in:
Nikita Hasert committed 2025-04-11 22:49:04 +02:00
1 parent decf144f30
commit 99d4c6f1d6
6 files changed
+64

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
enable_jp_locale() {
echo "Enabling ja_JP locale..."
sudo sed -i "s%#ja_JP.UTF-8 UTF-8%ja_JP.UTF-8 UTF-8%" /etc/locale.gen && locale-gen
}
sudo steamos-readonly disable
enable_jp_locale
sudo steamos-readonly enable
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo
sudo pacman-key --refresh-keys
. install_lein
. install_neovim
. install_xclip
. install_podman-compose
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
install_lein() {
echo "Installing lein..."
lein="${HOME}/bin/lein"
curl httpis://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o "$lein"
chmod u+x "$lein"
}
install_lein
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
install_neovim() {
version=${1:-nightly}
echo "Installing nvim ${version}..."
nvim="${HOME}/bin/nvim"
nvimurl="https://github.com/neovim/neovim/releases/download/${version}/nvim-linux-x86_64.appimage"
mkdir -p "$(dirname "$nvim")"
curl -fL "$nvimurl" -o "$nvim" -z "$nvim"
chmod u+x "$nvim"
}
install_neovim
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
install_pip() {
echo "Installing aardvark-dns and podman-compose..."
sudo pacman -S aardvark-dns podman-compose
}
sudo steamos-readonly disable
install_pip
sudo steamos-readonly enable
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
install_xclip() {
echo "Installing xclip..."
sudo pacman -S xclip
}
sudo steamos-readonly disable
install_xclip
sudo steamos-readonly enable