From 645cb78fd0aa68c1b9a2b60252b44a62be4c6825 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 3 Oct 2020 20:02:55 -0400 Subject: First time trying my rice script --- Rinstall.sh | 3 +-- archer.sh | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ packages.tm | 22 ++++++---------------- wall.jpg | Bin 0 -> 1556267 bytes 4 files changed, 68 insertions(+), 18 deletions(-) create mode 100644 archer.sh create mode 100644 wall.jpg diff --git a/Rinstall.sh b/Rinstall.sh index bb5cee9..926d52e 100755 --- a/Rinstall.sh +++ b/Rinstall.sh @@ -1,7 +1,6 @@ #!/bin/sh -packages="xtable blogdown ggplot2 plot3D" - +packages="xtable ggplot2 plot3D" for f in $packages do sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org')" diff --git a/archer.sh b/archer.sh new file mode 100644 index 0000000..e1fe36e --- /dev/null +++ b/archer.sh @@ -0,0 +1,61 @@ +#!/bin/sh + +# Base Settings +user="master" +dir=$(pwd) + +echo Remove the dumb beep sound +echo blacklist pcspkr >> /etc/modprobe.d/blacklist + +echo Configuring ssh +mkdir -p ~/.ssh +ls ~/.ssh | grep id_rsa.pub || ssh-keygen -t rsa -b 4096 -C "benjamin@chausse.xyz" -q -N "" + +echo Installing yay +sudo pacman -S --noconfirm git base-devel +cd /tmp +git clone https://aur.archlinux.org/yay.git /tmp/yay +cd /tmp/yay +makepkg -sir + +echo Adding the candy flair to pacman +sudo echo ILoveCandy >> /etc/pacman.conf +sudo sed -i 's/#Color$/Color/g' /etc/pacman.conf + +echo Installing packages +packages=$(sed "s/#.*$//; /^$/d" packages.tm) +yay -S --noconfirm $packages + +echo Installing R essential packages +for f in xtable ggplot2 plot3D + do + sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org')" +done + +echo Installing fiche for terminal pastebins +cd /tmp +git clone https://github.com/solusipse/fiche.git +cd fiche && make && sudo make install + +# Pause to add public key to server +puburl="$(cat ~/id_rsa.pub | nc termbin.com 9999)" +printf "You may want to give this computer access to your git server...\n + add the newly created public key to your server.\n + You can access it here: $puburl" +read -p "Press enter to continue" + + +echo Installing my builds of suckless utilities +for i in dmenu dwm st slock sent +do + cd /tmp + git clone https://git.chausse.xyz/$i + cd $i && make && sudo make install +done + +echo Set dash as the default shell for sh scripts +sudo rm /usr/bin/sh +ln -s $(which dash) /usr/bin/sh + +echo Setting up the wallpaper +cp $pwd && cp wall.jpg ~/.config/ diff --git a/packages.tm b/packages.tm index 096540c..b507d8f 100755 --- a/packages.tm +++ b/packages.tm @@ -4,17 +4,14 @@ nerd-fonts-complete # Cause you want those nerdy icons everywhere # Desktop Environment -i3-gaps-rounded-git # i3-gaps, but with rounded corner goodness -polybar # Universal WM statusbar -nitrogen # Wallpaper manager -lightdm # Screen Lock -compton # The good compositor -rofi # Cooler dmenu +xorg # xorg utilities +xorg-server +xorg-xinit +picom-rounded-corners # The good compositor # File viewers sxiv # Simple X Image viewer mpv # Minimal player for videos -vlc # VLC ALWAYS WORKS... zathura # Document viewer base zathura-ps # Adds PostScript to zathura zathura-pdf-mupdf # Adds pdf to zathura @@ -28,19 +25,14 @@ libreoffice-still # For those pesky word documents # Utilities tmux # Terminal multiplexer (Run terminal windows as background processes) -lolcat # Taste the rainbow -cowsay # Cause you want a talking cow on your system mutt-wizard-git # A true wizard for configuring neomutt firefox # The sensible web browser -tmatrix-git # For when you have that matrix vibe #TUIs neomutt # New mutt email browser newsboat # RSS manager -ncmpcpp # A genuinely good music player -spotify-tui # Tui client for spotify (requires th gui) -ranger # Beautiful file manager with image preview -mps-youtube # Youtube TUI +vifm # Beautiful file manager +youtube-viewer # Youtube TUI # Languages @@ -63,12 +55,10 @@ biber # UTF-8 capable alternative to bibtex pandoc # Swiss army knife of document conversion and compilation # Daemons and others -mpd # Music player daemon entr # Execute stuff when files change cronie # Run cron jobs (automated redular tasks) hplip # HP Printers Configurator cups # Another Printing Dependency -base-devel # Get all the makepkg and sudo goodness protonmail-bridge # Daemon for ProtonMail python-ueberzug # View images in terminal applications dropbox # Because my life is on dropbox diff --git a/wall.jpg b/wall.jpg new file mode 100644 index 0000000..06754f5 Binary files /dev/null and b/wall.jpg differ -- cgit v1.2.3