Adds bootstrap.v2
This commit is contained in:
parent
06c8003cf2
commit
2bbccb4595
61 changed files with 468 additions and 4 deletions
3
.config/yadm/bootstrap.v1/bootstrap.d/00-Update.sh
Executable file
3
.config/yadm/bootstrap.v1/bootstrap.d/00-Update.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay
|
||||
11
.config/yadm/bootstrap.v1/bootstrap.d/01-Dependencies.sh
Executable file
11
.config/yadm/bootstrap.v1/bootstrap.d/01-Dependencies.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/env bash
|
||||
|
||||
echo "Installing general apps"
|
||||
|
||||
yay -S --needed neovim \
|
||||
network-manager-applet \
|
||||
ghostty \
|
||||
btop \
|
||||
zoxide fzf \
|
||||
wifi-qr \
|
||||
brightnessctl
|
||||
6
.config/yadm/bootstrap.v1/bootstrap.d/02-AMDGPUDrivers.sh##class.PC
Executable file
6
.config/yadm/bootstrap.v1/bootstrap.d/02-AMDGPUDrivers.sh##class.PC
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed \
|
||||
mesa lib32-mesa \
|
||||
xf86-video-amdgpu \
|
||||
vulkan-radeon lib32-vulkan-radeon
|
||||
6
.config/yadm/bootstrap.v1/bootstrap.d/03-Bluetooth.sh
Executable file
6
.config/yadm/bootstrap.v1/bootstrap.d/03-Bluetooth.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed bluez \
|
||||
bluez-utils
|
||||
|
||||
sudo systemctl enable --now bluetooth.service
|
||||
8
.config/yadm/bootstrap.v1/bootstrap.d/10-SDDM.sh##default
Executable file
8
.config/yadm/bootstrap.v1/bootstrap.d/10-SDDM.sh##default
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed sddm catppuccin-sddm-theme-mocha
|
||||
|
||||
sudo mkdir -p /etc/sddm.conf.d
|
||||
sudo ln ~/.config/sddm/theme.conf /etc/sddm.conf.d/theme.conf
|
||||
|
||||
sudo systemctl enable sddm
|
||||
35
.config/yadm/bootstrap.v1/bootstrap.d/11-DesktopEnv.sh
Executable file
35
.config/yadm/bootstrap.v1/bootstrap.d/11-DesktopEnv.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/env bash
|
||||
|
||||
if [ -z ${XDG_SESSION_DESKTOP+x} ]; then
|
||||
read -p "Which desktop environment do you want to install? " -r XDG_SESSION_DESKTOP
|
||||
fi
|
||||
|
||||
echo "Installing dependencies for $XDG_SESSION_DESKTOP"
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP = "i3" ]; then
|
||||
yay -S --needed polybar \
|
||||
betterlockscreen \
|
||||
dunst \
|
||||
pulseaudio-control \
|
||||
nitrogen
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
|
||||
yay -S --needed hyprland \
|
||||
waybar waybar-updates \
|
||||
hyprlock \
|
||||
swww \
|
||||
hyprswitch \
|
||||
nwg-dock-hyprland \
|
||||
nwg-drawer \
|
||||
swaync \
|
||||
wayland-logout \
|
||||
hyprpicker \
|
||||
pulseaudio-control \
|
||||
wl-clipboard \
|
||||
grim \
|
||||
slurp \
|
||||
hyprsunset \
|
||||
darkman \
|
||||
anyrun-git
|
||||
fi
|
||||
3
.config/yadm/bootstrap.v1/bootstrap.d/12-Decrypt.sh
Executable file
3
.config/yadm/bootstrap.v1/bootstrap.d/12-Decrypt.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yadm decrypt
|
||||
5
.config/yadm/bootstrap.v1/bootstrap.d/20-Fonts.sh
Executable file
5
.config/yadm/bootstrap.v1/bootstrap.d/20-Fonts.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/env bash
|
||||
|
||||
yay -S --needed getnf
|
||||
getnf -i "JetBrainsMono"
|
||||
fc-cache
|
||||
4
.config/yadm/bootstrap.v1/bootstrap.d/20-GTKGruvbox.sh
Executable file
4
.config/yadm/bootstrap.v1/bootstrap.d/20-GTKGruvbox.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/env sh
|
||||
|
||||
echo "# Installing GTK Theme (gruvbox)"
|
||||
yay -S --needed gruvbox-material-icon-theme-git gruvbox-gtk-theme-git
|
||||
10
.config/yadm/bootstrap.v1/bootstrap.d/20-Keymap.sh
Executable file
10
.config/yadm/bootstrap.v1/bootstrap.d/20-Keymap.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/env bash
|
||||
|
||||
echo "# Installing keymapping"
|
||||
|
||||
yay -S --needed evremap
|
||||
|
||||
sudo gpasswd -a $USER input
|
||||
echo 'KERNEL=="uinput", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules
|
||||
|
||||
mkdir -p $HOME/.log
|
||||
5
.config/yadm/bootstrap.v1/bootstrap.d/20-Wal.sh
Executable file
5
.config/yadm/bootstrap.v1/bootstrap.d/20-Wal.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed python-pywal
|
||||
|
||||
wal --theme base16-gruvbox-medium
|
||||
5
.config/yadm/bootstrap.v1/bootstrap.d/21-SASSThemes.sh
Executable file
5
.config/yadm/bootstrap.v1/bootstrap.d/21-SASSThemes.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/env sh
|
||||
|
||||
sudo pacman -S --needed sass
|
||||
|
||||
sh -c "$HOME/.config/theming/compile.sh"
|
||||
6
.config/yadm/bootstrap.v1/bootstrap.d/30-GeneralPrograms.sh
Executable file
6
.config/yadm/bootstrap.v1/bootstrap.d/30-GeneralPrograms.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed zen-browser-bin \
|
||||
zathura zathura-pdf-mupdf \
|
||||
onlyoffice-bin \
|
||||
bitwarden
|
||||
9
.config/yadm/bootstrap.v1/bootstrap.d/30-Git.sh
Executable file
9
.config/yadm/bootstrap.v1/bootstrap.d/30-Git.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed gnome-keyring \
|
||||
git-credential-oauth
|
||||
|
||||
git credential-oauth configure
|
||||
|
||||
git config --global user.email "git@iedsoftworks.com"
|
||||
git config --global user.name "Michel Fedde"
|
||||
11
.config/yadm/bootstrap.v1/bootstrap.d/30-Hyprdrop.sh
Executable file
11
.config/yadm/bootstrap.v1/bootstrap.d/30-Hyprdrop.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/env sh
|
||||
|
||||
PREV_DIRECTORY=$PWD
|
||||
|
||||
git clone https://github.com/kjlo/hyprdrop ~/.cache/hyprdrop
|
||||
cd ~/.cache/hyprdrop
|
||||
cargo install --path .
|
||||
|
||||
cd $PREV_DIRECTORY
|
||||
|
||||
rm -rf ~/.cache/hyprdrop
|
||||
7
.config/yadm/bootstrap.v1/bootstrap.d/30-KDEConnect.sh
Executable file
7
.config/yadm/bootstrap.v1/bootstrap.d/30-KDEConnect.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed kdeconnect
|
||||
|
||||
sudo firewall-cmd --permanent --add-port=1714-1764/{tcp,udp}
|
||||
|
||||
echo "-- For some reason, its recommended to reboot your device to make kdeconnect work..."
|
||||
14
.config/yadm/bootstrap.v1/bootstrap.d/30-Thunar.sh
Executable file
14
.config/yadm/bootstrap.v1/bootstrap.d/30-Thunar.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/env sh
|
||||
|
||||
echo "# Installing thunar"
|
||||
|
||||
yay -S --needed thunar \
|
||||
gvfs \
|
||||
thunar-archive-plugin \
|
||||
thunar-media-tags-plugin \
|
||||
thunar-shares-plugin \
|
||||
thunar-volman \
|
||||
tumbler \
|
||||
libgsf \
|
||||
raw-thumbnailer \
|
||||
tumbler-extra-thumbnailers
|
||||
5
.config/yadm/bootstrap.v1/bootstrap.d/30-Vimiv.sh
Normal file
5
.config/yadm/bootstrap.v1/bootstrap.d/30-Vimiv.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed vimiv
|
||||
|
||||
xdg-mime default vimiv.default image/{png,jpeg}
|
||||
6
.config/yadm/bootstrap.v1/bootstrap.d/30-Yazi.sh.bak
Executable file
6
.config/yadm/bootstrap.v1/bootstrap.d/30-Yazi.sh.bak
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed yazi p7zip jq poppler fd ripgrep fzf zoxide imagemagick fuse-archive zip \
|
||||
blobdrop-git
|
||||
|
||||
ya pack --install
|
||||
7
.config/yadm/bootstrap.v1/bootstrap.d/30-Zsh.sh
Executable file
7
.config/yadm/bootstrap.v1/bootstrap.d/30-Zsh.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/env sh
|
||||
|
||||
yay -S --needed zsh oh-my-zsh
|
||||
|
||||
chsh -s $(which zsh)
|
||||
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --keep-zshrc --unattended || exit 0
|
||||
21
.config/yadm/bootstrap.v1/bootstrap.d/40-GitRepositories.sh
Executable file
21
.config/yadm/bootstrap.v1/bootstrap.d/40-GitRepositories.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/env sh
|
||||
|
||||
declare -A repositories
|
||||
|
||||
repositories['DSA']="ssh://git.php.fail/neintonine/dsa.git"
|
||||
repositories['Notes']="ssh://git.php.fail/neintonine/notes.git"
|
||||
repositories['gameconcepts']="ssh://git.php.fail/neintonine/game-concepts.git"
|
||||
|
||||
for path in "${!repositories[@]}"; do
|
||||
url=${repositories[$path]}
|
||||
|
||||
realPath="${HOME}/$path"
|
||||
if [ -d "$realPath" ]; then
|
||||
echo "-- $realPath already exist... skipping clone"
|
||||
continue
|
||||
fi
|
||||
|
||||
echo "-- Cloning to $realPath";
|
||||
git clone "$url" "$realPath"
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue