mirror of
https://github.com/kristoferssolo/karbs.git
synced 2025-10-21 19:00:35 +00:00
Minor changes
This commit is contained in:
parent
604cd3f63b
commit
5ca5106ba9
28
karbs.sh
28
karbs.sh
@ -1,16 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo 'Choose installation size: minimal or full'
|
echo 'Choose installation size: minimal or full'
|
||||||
read size
|
read size
|
||||||
|
|
||||||
if pacman -Q paru; then
|
if pacman -Q paru; then
|
||||||
echo
|
echo
|
||||||
else
|
else
|
||||||
|
sudo pacman -S --noconfirm rust
|
||||||
git clone 'https://aur.archlinux.org/paru-bin'
|
git clone 'https://aur.archlinux.org/paru-bin'
|
||||||
cd paru
|
cd paru-bin
|
||||||
makepkg -si
|
makepkg -si
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf paru
|
rm -rf paru-bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FILE = "pkg-files/$size-pkgs.txt"
|
FILE = "pkg-files/$size-pkgs.txt"
|
||||||
@ -25,11 +25,19 @@ else
|
|||||||
rm "$size"-pkgs.txt
|
rm "$size"-pkgs.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p ~/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
|
mkdir -p "$HOME"/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
|
||||||
git clone 'https://github.com/kristoferssolo/solorice' '~/repos/solorice'
|
git clone 'https://github.com/kristoferssolo/solorice' "$HOME/repos/solorice"
|
||||||
|
|
||||||
cp -rf '~/repos/solorice/.config' ~
|
cp -rf "$HOME/repos/solorice/.config" "$HOME"
|
||||||
rm -rf '~/.config/awesome/desktop'
|
rm -rf "$HOME/.config/awesome/desktop"
|
||||||
cp -rf '~/repos/solorice/.local' ~
|
touch "$HOME/.config/awesome/weather"
|
||||||
mv '~/.config/zsh/.zshenv' ~
|
cp -rf "$HOME/repos/solorice/.local" "$HOME"
|
||||||
git clone 'https://github.com/streetturtle/awesome-wm-widgets' '~/.config/awesome/awesome-wm-widgets'
|
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'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user