diff options
-rw-r--r-- | README.md | 5 | ||||
-rwxr-xr-x | Rinstall.sh | 8 | ||||
-rwxr-xr-x | candy.sh | 4 | ||||
-rwxr-xr-x | clock.sh | 3 | ||||
-rwxr-xr-x | git-remote-dropbox.sh | 8 | ||||
-rwxr-xr-x | install-packages.sh | 4 | ||||
-rwxr-xr-x | main.sh | 14 | ||||
-rwxr-xr-x | packages.tm | 79 | ||||
-rwxr-xr-x | spotify.sh | 9 | ||||
-rwxr-xr-x | ssh.sh | 7 | ||||
-rwxr-xr-x | st.sh | 8 | ||||
-rwxr-xr-x | vim-plug.sh | 3 | ||||
-rwxr-xr-x | yadm.sh | 6 | ||||
-rwxr-xr-x | yay.sh | 11 | ||||
-rwxr-xr-x | zsh.sh | 4 |
15 files changed, 173 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..406a5f2 --- /dev/null +++ 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 new file mode 100755 index 0000000..bb5cee9 --- /dev/null +++ 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 new file mode 100755 index 0000000..f786185 --- /dev/null +++ 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 new file mode 100755 index 0000000..5ea2938 --- /dev/null +++ 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 new file mode 100755 index 0000000..46ec076 --- /dev/null +++ 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 new file mode 100755 index 0000000..6ce857c --- /dev/null +++ b/install-packages.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +packages=$(sed "s/#.*$//; /^$/d" packages.tm) +yay -S --noconfirm $packages @@ -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 new file mode 100755 index 0000000..a2e209b --- /dev/null +++ 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 new file mode 100755 index 0000000..5ab01e7 --- /dev/null +++ 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" + @@ -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 + + @@ -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 new file mode 100755 index 0000000..44827ad --- /dev/null +++ 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 @@ -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 @@ -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" + + @@ -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)" |