1
0

Moved stuff to makefile of the arch dots, added general dotfiles cloning

and scripts
This commit is contained in:
cronyakatsuki 2022-11-03 08:44:44 +01:00
parent 6c73cb8492
commit e0d254f743

View File

@ -319,39 +319,35 @@ exit
cd ~ cd ~
echo "Setting up paru" echo "Setting up paru"
sudo pacman -S --noconfirm --needed go rust nodejs npm cmake git zig sudo pacman -S --noconfirm --needed go rust nodejs npm cmake git zig
git clone https://aur.archlinux.org/paru.git git clone https://aur.archlinux.org/paru.git ~/paru
cd paru cd ~/paru
makepgk -si makepgk -si
cd .. cd ~
rm -rf paru rm -rf ~/paru
echo "Getting my dotfiles" echo "Setting up additional must have aur packages"
paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh
echo "Getting my arch dotfiles"
mkdir -p ~/repos/dots mkdir -p ~/repos/dots
cd ~/repos/dots cd ~/repos/dots
git clone https://github.com/cronyakatsuki/arch-dots.git arch git clone https://github.com/cronyakatsuki/arch-dots.git arch
cd ~
mkdir ~/.config mkdir ~/.config
cd ~/repos/dots/arch
make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | fzf --multi --prompt "Choose what part of the arch related configs you wanna install: " | awk '{ print $1 }')
echo "Setting up my zsh config and scripts" echo "Getting my general dotfiles"
paru -S --needed --noconfirm zsh zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting starship pfetch-btw glow mkdir -p ~/repos/dots
ln -s $HOME/repos/dots/arch/.zshenv $HOME/.zshenv cd ~/repos/dots
ln -s $HOME/repos/dots/arch/.config/zsh/* $/HOME/.config/zsh git clone https://github.com/cronyakatsuki/general-dots.git general
ln -s $HOME/repos/dots/arch/.config/zsh/.* $/HOME/.config/zsh cd ~/repos/dots/general
ln -s $HOME/repos/dots/arch/.config/starship.toml $HOME/.config/starship make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | fzf --multi --prompt "Choose what part of the general related configs you wanna install: " | awk '{ print $1 }')
mkdir ~/bin
ln -s $HOME/repos/dots/bin/* $HOME/bin
chsh -s $(which zsh)
echo "Setting up xdg user dirs" echo "Getting my scripts"
ln -s $HOME/repos/dots/arch/.config/user-dirs.dirs $HOME/.config/user-dirs.dirs mkdir -p ~/bin
mkdir -p $HOME/.local/share/desktop cd ~/repos/dots
mkdir -p $HOME/downs git clone https://github.com/cronyakatsuki/scripts.git ~/repos/dots/scripts
mkdir -p $HOME/.local/share/templates ln -s $HOME/repos/dots/scripts $HOME/bin/misc
mkdir -p $HOME/.local/share/public
mkdir -p $HOME/docs
mkdir -p $HOME/music
mkdir -p $HOME/pics
mkdir -p $HOME/vids
echo "Setting up neovim" echo "Setting up neovim"
sudo pacman -S --noconfirm --needed neovim ripgrep sudo pacman -S --noconfirm --needed neovim ripgrep
@ -372,10 +368,6 @@ sudo make install clean
git clone https://github.com/cronyakatsuki/dmenu-scripts.git ~/repos/dmenu-scripts git clone https://github.com/cronyakatsuki/dmenu-scripts.git ~/repos/dmenu-scripts
ln -s $HOME/repos/dmenu-scripts $HOME/bin/dmenu ln -s $HOME/repos/dmenu-scripts $HOME/bin/dmenu
paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh
cd ~/repos/dots/arch
make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | fzf --multi --prompt "Choose what part of the arch related configs you wanna install: " | awk '{ print $1 }')
echo "Do you wan't to setup gaming related packages, settings and optimizations? [y/n]" echo "Do you wan't to setup gaming related packages, settings and optimizations? [y/n]"
read gaming read gaming