summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-01-05 00:34:04 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2020-01-05 00:34:04 -0500
commit8bbfe31a5685c54e174d3efc6794da77b5378d38 (patch)
treea6ed182e30120ac739edbd4ea586fb517c563673
Initial Commit
-rw-r--r--README.md5
-rwxr-xr-xRinstall.sh8
-rwxr-xr-xcandy.sh4
-rwxr-xr-xclock.sh3
-rwxr-xr-xgit-remote-dropbox.sh8
-rwxr-xr-xinstall-packages.sh4
-rwxr-xr-xmain.sh14
-rwxr-xr-xpackages.tm79
-rwxr-xr-xspotify.sh9
-rwxr-xr-xssh.sh7
-rwxr-xr-xst.sh8
-rwxr-xr-xvim-plug.sh3
-rwxr-xr-xyadm.sh6
-rwxr-xr-xyay.sh11
-rwxr-xr-xzsh.sh4
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
diff --git a/main.sh b/main.sh
new file mode 100755
index 0000000..0fdea2a
--- /dev/null
+++ 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
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"
+
diff --git a/ssh.sh b/ssh.sh
new file mode 100755
index 0000000..5d49d2e
--- /dev/null
+++ 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
new file mode 100755
index 0000000..1f5a8be
--- /dev/null
+++ 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
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
diff --git a/yadm.sh b/yadm.sh
new file mode 100755
index 0000000..17c99c2
--- /dev/null
+++ 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
new file mode 100755
index 0000000..150b4a9
--- /dev/null
+++ 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
new file mode 100755
index 0000000..3767ec3
--- /dev/null
+++ 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)"