mirror of
https://github.com/tiyn/larbs.git
synced 2025-04-02 15:37:45 +02:00
Merge branch 'master' of ssh+git://github/tiynger/larbs
This commit is contained in:
commit
f77a25fb5c
13
larbs.sh
13
larbs.sh
@ -9,7 +9,6 @@
|
||||
while getopts ":a:r:b:p:h:w" o; do case "${o}" in
|
||||
h) printf "Optional arguments for custom use:\\n -r: Dotfiles repository (local file or url)\\n -b: Dotfiles branch (master is assumed otherwise)\\n -p: Dependencies and programs csv (local file or url)\\n -a: AUR helper (must have pacman-like syntax)\\n -h: Show this message\\n" && exit ;;
|
||||
r) dotfilesrepo=${OPTARG} && git ls-remote "$dotfilesrepo" || exit ;;
|
||||
w) wallrepo=${OPTARG} && git ls-remote "$wallrepo" || exit ;;
|
||||
b) repobranch=${OPTARG} ;;
|
||||
p) progsfile=${OPTARG} ;;
|
||||
a) aurhelper=${OPTARG} ;;
|
||||
@ -18,7 +17,6 @@ esac done
|
||||
|
||||
# DEFAULTS:
|
||||
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/tiynger/.dotfiles.git" && repobranch="master"
|
||||
[ -z "$wallrepo" ] && dotfilesrepo="https://github.com/tiynger/wallpaper.git"
|
||||
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/TiynGER/LARBS/master/progs.csv"
|
||||
[ -z "$aurhelper" ] && aurhelper="yay"
|
||||
[ -z "$repobranch" ] && repobranch="master"
|
||||
@ -201,20 +199,12 @@ manualinstall $aurhelper || error "Failed to install AUR helper."
|
||||
# and all build dependencies are installed.
|
||||
installationloop
|
||||
|
||||
# Install the LARBS Firefox profile in ~/.mozilla/firefox/
|
||||
putgitrepo "https://github.com/LukeSmithxyz/mozillarbs.git" "/home/$name/.mozilla/firefox"
|
||||
|
||||
# Pulseaudio, if/when initially installed, often needs a restart to work immediately.
|
||||
[ -f /usr/bin/pulseaudio ] && resetpulse
|
||||
|
||||
# Enable services here.
|
||||
serviceinit NetworkManager cronie
|
||||
|
||||
sudo systemctl start docker.service
|
||||
sudo groupadd docker
|
||||
sudo gpasswd -a $USER docker
|
||||
sudo systemctl stop docker.service
|
||||
|
||||
#changing default shell
|
||||
chsh --shell /bin/zsh $USER
|
||||
|
||||
@ -229,9 +219,6 @@ systembeepoff
|
||||
newperms "%wheel ALL=(ALL) ALL #LARBS
|
||||
%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm"
|
||||
|
||||
# Remove unwanted files
|
||||
rm -r ~/.local/share/larb
|
||||
|
||||
# Last message! Install complete!
|
||||
finalize
|
||||
clear
|
||||
|
Loading…
x
Reference in New Issue
Block a user