small fixes :)

This commit is contained in:
2017-12-24 18:20:15 +01:00
parent fb90e90e07
commit 32f1eb562a
6 changed files with 10 additions and 35 deletions

View File

@@ -17,25 +17,29 @@ function yes_or_no {
# moves all fonts into the fonts directory (overwriting existing files)
function install_fonts {
mkdir ~/.fonts
yes | cp -rf ./fonts/*.ttf ~/.fonts
}
# install basic rice files
function install_rice {
mkdir ~/.config/i3
yes | cp -rf ../* ~/.config/i3
mkdir ~/Pictures/Wallpapers
yes | cp -rf i3/* ~/.config/i3
cp wallpapers/wallpaper.jpeg ~/Pictures/Wallpapers/wallpaper.jpg
}
# install other configs
function install_config {
rm ~/.notify-osd && mv notify-osd/notify-osd ~/.notify-osd
rm ~/.notify-osd
mv notify-osd/notify-osd ~/.notify-osd
rsync -av ./config ~/.config
}
# Installs the dependencies on Arch Linux
function install_dependencies {
sudo pacman -S $(cat dependencies/pacman.txt | sed ':a;N;$!ba;s/\n/ /g')
yaourt -S --noconfirm $(cat dependencies/aur.txt | sed ':a;N;$!ba;s/\n/ /g')
sudo pacman --force -S $(cat dependencies/pacman.txt | sed ':a;N;$!ba;s/\n/ /g')
yaourt --force -S --noconfirm $(cat dependencies/aur.txt | sed ':a;N;$!ba;s/\n/ /g')
}
# list the dependencies file