archer

My humble Arch linux bootstraper.
Log | Files | Refs | README

commit 8bbfe31a5685c54e174d3efc6794da77b5378d38
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Sun,  5 Jan 2020 00:34:04 -0500

Initial Commit

Diffstat:
AREADME.md | 5+++++
ARinstall.sh | 8++++++++
Acandy.sh | 4++++
Aclock.sh | 3+++
Agit-remote-dropbox.sh | 8++++++++
Ainstall-packages.sh | 4++++
Amain.sh | 14++++++++++++++
Apackages.tm | 79+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aspotify.sh | 9+++++++++
Assh.sh | 7+++++++
Ast.sh | 8++++++++
Avim-plug.sh | 3+++
Ayadm.sh | 6++++++
Ayay.sh | 11+++++++++++
Azsh.sh | 4++++
15 files changed, 173 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,5 @@ +My simple bootstrapping repo +--- + +## Goals +Speed up the linux ricing process diff --git a/Rinstall.sh b/Rinstall.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +packages="xtable blogdown ggplot2 plot3D" + +for f in $packages + do + sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org')" +done diff --git a/candy.sh b/candy.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +sudo sed -i "s/^#Color/Color/; + s/^#TotalDownload/TotalDownload\nILoveCandy/" /etc/pacman.conf diff --git a/clock.sh b/clock.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo timedatectl set-ntp true diff --git a/git-remote-dropbox.sh b/git-remote-dropbox.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# This script supposes you have a usb key mounted in /mnt +# This drive must contain your git-remote-dropbox.json finle in it's root... + +mkdir -p $HOME/.config/git +cp /mnt/git-remote-dropbox.json $HOME/.config/git/git-remote-dropbox.json +pip install --user git-remote-dropbox diff --git a/install-packages.sh b/install-packages.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +packages=$(sed "s/#.*$//; /^$/d" packages.tm) +yay -S --noconfirm $packages diff --git a/main.sh b/main.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +./candy.sh +./clock.sh +./yay.sh +./install-packages.sh +./git-remote-dropbox.sh +./yadm.sh +./ssh.sh +./vim-plug.sh +./spotify.sh +./zsh.sh +./Rinstall.sh + diff --git a/packages.tm b/packages.tm @@ -0,0 +1,79 @@ +# Packages for my build + +# Fonts +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 + +# 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 +zathura-djvu # Adds Deja-Vu to zathura + +# File Editors (Not necessarily text) +neovim # The real text editor +ffmpeg # Edit and convert video and audio +gimp # GNU Image Manipulation Program +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 + + +# Languages +go # What the cool kids use +r # When scientific data matters to you +python # Good ol' python +dash # bash, but less bloated +zsh # The superior shell + +# Markdown Utilities +texlive-core # The Core of LaTeX +texlive-bibtexextra +texlive-fontsextra +texlive-formatsextra +texlive-latexextra +texlive-pictures +texlive-science +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 +xsel # Clipboard manager +networkmanager # You can read dude... +network-manager-applet # Network Manager Applet +youtube-dl # Download youtube videos +id3v2 # Tag editor for music +kdeconnect # Android phone just love linux connectivity diff --git a/spotify.sh b/spotify.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cwd=$(pwd) +git clone https://aur.archlinux.org/spotify.git /tmp/spotify +cd /tmp/spotify +sed -i "s/https:\/\/repository-origin/http:\/\/repository/" PKGBUILD +makepkg -sir --noconfirm --skipinteg +cd "$cwd" + diff --git a/ssh.sh b/ssh.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +ssh-keygen -b 4096 -t rsa -f $HOME/.ssh/id_rsa -q -N "" +cat $HOME/.ssh/id_rsa.pub | xsel -b && notify-send "New ssh key copied to clipboard" +$BROWSER https://github.com/settings/keys + + diff --git a/st.sh b/st.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cwd=$(pwd) +mkdir -p $HOME/Compilation +git clone https://github.com/ChausseBenjamin/st.git $HOME/Compilation/st +cd $HOME/Compilation/st +make && sudo make install +cd "$cwd" diff --git a/vim-plug.sh b/vim-plug.sh @@ -0,0 +1,3 @@ +#!/bin/sh +curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim diff --git a/yadm.sh b/yadm.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# YADM must already be installed... +# git-remote-dropbox must already be configured + +yadm clone "dropbox:///git-private/manjaro-dotfiles" -b master diff --git a/yay.sh b/yay.sh @@ -0,0 +1,11 @@ +#!/bin/sh +cwd=$(pwd) +sudo pacman -S --noconfirm git +git clone https://aur.archlinux.org/yay.git /tmp/yay +git config --global user.email "benjamin@chausse.xyz" +git config --global user.name "Benjamin Chausse" +cd /tmp/yay +makepkg -si --noconfirm +cd "$cwd" + + diff --git a/zsh.sh b/zsh.sh @@ -0,0 +1,4 @@ +!#bin/sh + +sudo chsh $(which zsh) master +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"