diff --git a/assets/bin/bansheerate.sh b/assets/bin/bansheerate.sh new file mode 100755 index 0000000..ca5666d --- /dev/null +++ b/assets/bin/bansheerate.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +#banshee --set-rating=$1 +banshee --toggle-playing diff --git a/assets/bin/updatemirrorlist.sh b/assets/bin/updatemirrorlist.sh new file mode 100755 index 0000000..f2c6eca --- /dev/null +++ b/assets/bin/updatemirrorlist.sh @@ -0,0 +1,6 @@ +#! /bin/bash + +sudo rm /etc/pacman.d/mirrorlist.backup +sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup +sudo sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.pacnew +sudo sh -c "rankmirrors -n 30 /etc/pacman.d/mirrorlist.pacnew > /etc/pacman.d/mirrorlist" diff --git a/post-install.sh b/post-install.sh index 85801f3..c796204 100755 --- a/post-install.sh +++ b/post-install.sh @@ -140,9 +140,13 @@ alpi_cosmetics(){ echo 'set show-all-if-ambiguous on' >> /home/$USER/.inputrc echo 'set completion-ignore-case on' >> /home/$USER/.inputrc - print_msg "ILoveCandy (pacman)" + print_msg "I love candy! (pacman)" sudo sed -i.back 's/^#Color$/Color/' /etc/pacman.conf - sudo sed -i.back 's/.*\[options\].*/&\nILoveCandy/' /etc/pacman.conf + sudo sed -i.back 's/^#TotalDownload$/TotalDownload\nILoveCandy/' /etc/pacman.conf + # sudo sed -i.back 's/.*\[options\].*/&\nILoveCandy/' /etc/pacman.conf + + print_msg "Bins" + cp -r $_cwd/assets/bin /home/$USER/.bin print_msg 'Config and Cosmetics done' } @@ -335,7 +339,7 @@ alpi_defaultpkgs(){ fi print_msg "web browser, terminal emulator, disk tool, password tool" - sudo pacman -S --needed --noconfirm -q chromium terminator gparted keepass + sudo pacman -S --needed --noconfirm -q chromium terminator gparted keepassx2 print_msg 'install office softwares' sudo pacman -S --needed --noconfirm -q gwenview kimageformats kdegraphics-okular kipi-plugins libreoffice-fresh hunspell-{fr,en}