archer

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

commit e10add2263012f44ec346af8c262bcd6b41dabdb
parent d36e1a6139876f22db97bd19490593017e0bb15e
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Sun,  4 Oct 2020 16:39:21 -0400

vim-plug, script cleanup, more packages

Diffstat:
DRinstall.sh | 7-------
Marcher.sh | 20++++++++++++++++----
Dcandy.sh | 4----
Dclock.sh | 3---
Dgit-remote-dropbox.sh | 8--------
Dinstall-packages.sh | 4----
Dmain.sh | 14--------------
Mpackages.tm | 6+++++-
Dspotify.sh | 9---------
Dssh.sh | 7-------
Dst.sh | 8--------
Dvim-plug.sh | 3---
Dyadm.sh | 6------
Dyay.sh | 9---------
Dzsh.sh | 4----
15 files changed, 21 insertions(+), 91 deletions(-)

diff --git a/Rinstall.sh b/Rinstall.sh @@ -1,7 +0,0 @@ -#!/bin/sh - -packages="xtable 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/archer.sh b/archer.sh @@ -16,7 +16,7 @@ sudo pacman -S --noconfirm git base-devel cd /tmp git clone https://aur.archlinux.org/yay.git /tmp/yay cd /tmp/yay -makepkg -sir +makepkg -sir echo Adding the candy flair to pacman sudo echo ILoveCandy >> /etc/pacman.conf @@ -41,7 +41,8 @@ cd fiche && make && sudo make install 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" + You can access it here: $puburl\n + Consider adding this public key to your dropbox account." read -p "Press enter to continue" @@ -53,9 +54,20 @@ do cd $i && make && sudo make install done +echo Setting up vim-Plug - neovim +sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' +nvim +PlugInstall +qall > /dev/null + echo Set dash as the default shell for sh scripts sudo rm /usr/bin/sh -ln -s $(which dash) /usr/bin/sh +sudo ln -s $(which dash) /usr/bin/sh + +echo Enabling Yubikey support in firefox +sudo cp $dir/70-u2f.rules /etc/udev/rules.d/ + +echo Setting up time +sudo timedatectl set-ntp true echo Setting up the wallpaper -cp $pwd && cp wall.jpg ~/.config/ +cp $pwd/wall.jpg ~/.cache/wall.png/ diff --git a/candy.sh b/candy.sh @@ -1,4 +0,0 @@ -#!/bin/bash - -sudo sed -i "s/^#Color/Color/; - s/^#TotalDownload/TotalDownload\nILoveCandy/" /etc/pacman.conf diff --git a/clock.sh b/clock.sh @@ -1,3 +0,0 @@ -#!/bin/sh - -sudo timedatectl set-ntp true diff --git a/git-remote-dropbox.sh b/git-remote-dropbox.sh @@ -1,8 +0,0 @@ -#!/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 @@ -1,4 +0,0 @@ -#!/bin/sh - -packages=$(sed "s/#.*$//; /^$/d" packages.tm) -yay -S --noconfirm $packages diff --git a/main.sh b/main.sh @@ -1,14 +0,0 @@ -#!/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 @@ -2,12 +2,17 @@ # Fonts nerd-fonts-complete # Cause you want those nerdy icons everywhere +spleen-font # Monospaced bitmap font # Desktop Environment xorg # xorg utilities xorg-server xorg-xinit +xwallpaper # Wallpaper utility +xsel # Clipboard utility picom-rounded-corners # The good compositor +flashfocus # Flash windows when they gets focused +sxhkd # File viewers sxiv # Simple X Image viewer @@ -62,7 +67,6 @@ cups # Another Printing Dependency 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 diff --git a/spotify.sh b/spotify.sh @@ -1,9 +0,0 @@ -#!/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 @@ -1,7 +0,0 @@ -#!/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 @@ -1,8 +0,0 @@ -#!/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 @@ -1,3 +0,0 @@ -#!/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 @@ -1,6 +0,0 @@ -#!/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 @@ -1,9 +0,0 @@ -#!/bin/sh -cwd=$(pwd) -sudo pacman -S --noconfirm git -git clone https://aur.archlinux.org/yay.git -cd yay -makepkg -si --noconfirm -cd "$cwd" - - diff --git a/zsh.sh b/zsh.sh @@ -1,4 +0,0 @@ -!#bin/sh - -sudo chsh $(which zsh) master -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"