Minor changes

This commit is contained in:
Kristofers Solo 2022-07-07 15:51:52 +03:00
parent 604cd3f63b
commit 5ca5106ba9

View File

@ -1,16 +1,16 @@
#!/bin/sh
echo 'Choose installation size: minimal or full'
read size
if pacman -Q paru; then
echo
else
sudo pacman -S --noconfirm rust
git clone 'https://aur.archlinux.org/paru-bin'
cd paru
cd paru-bin
makepkg -si
cd ..
rm -rf paru
rm -rf paru-bin
fi
FILE = "pkg-files/$size-pkgs.txt"
@ -25,11 +25,19 @@ else
rm "$size"-pkgs.txt
fi
mkdir -p ~/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
git clone 'https://github.com/kristoferssolo/solorice' '~/repos/solorice'
mkdir -p "$HOME"/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
git clone 'https://github.com/kristoferssolo/solorice' "$HOME/repos/solorice"
cp -rf '~/repos/solorice/.config' ~
rm -rf '~/.config/awesome/desktop'
cp -rf '~/repos/solorice/.local' ~
mv '~/.config/zsh/.zshenv' ~
git clone 'https://github.com/streetturtle/awesome-wm-widgets' '~/.config/awesome/awesome-wm-widgets'
cp -rf "$HOME/repos/solorice/.config" "$HOME"
rm -rf "$HOME/.config/awesome/desktop"
touch "$HOME/.config/awesome/weather"
cp -rf "$HOME/repos/solorice/.local" "$HOME"
ln -rfs "$HOME/.config/zsh/.zshenv" "$HOME"
git clone 'https://github.com/streetturtle/awesome-wm-widgets' "$HOME/.config/awesome/awesome-wm-widgets"
chsh -s /bin/zsh
sudo chmod +s /usr/bin/reboot
echo
echo
echo -e '\033[1;31m For weather widget to work, enter API-key from https://openweathermap.org, latitude and logitude in `~/.config/awesome/weather` file, each on seperate line. \033[0m'