Update and comment provisioning scripts

This commit is contained in:
Daniel Flanagan 2017-11-14 17:31:30 -06:00
parent 02ca0ab7fe
commit bc524d592e
12 changed files with 642 additions and 589 deletions

View file

@ -177,6 +177,7 @@ Plug 'posva/vim-vue', {'for': ['vue']}
Plug 'elixir-lang/vim-elixir', {'for': ['elixir', 'eelixir']} Plug 'elixir-lang/vim-elixir', {'for': ['elixir', 'eelixir']}
Plug 'mattn/emmet-vim', {'for': ['html']} Plug 'mattn/emmet-vim', {'for': ['html']}
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']} Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
Plug 'quabug/vim-gdscript', {'for': ['gd', 'gdscript']}
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']} Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
Plug 'mustache/vim-mustache-handlebars', {'for': ['html.handlebars', 'handlebars', 'hbs']} Plug 'mustache/vim-mustache-handlebars', {'for': ['html.handlebars', 'handlebars', 'hbs']}
Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown', 'vimwiki']} Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown', 'vimwiki']}

View file

@ -452,6 +452,15 @@ record-macro
run-macro run-macro
@ @
wq
ZZ
tab-focus -1
g$
tab-pin
<ctrl-p>
[insert] [insert]
# Keybindings for insert mode. # Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are # Since normal keypresses are passed through, only special keys are

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,21 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# user's username
USERNAME=daniel USERNAME=daniel
GROUPS=admin,users,wheel
# add admin group
groupadd admin 2>/dev/null groupadd admin 2>/dev/null
# create actual home directory
mkdir -p "/home/$USERNAME/usr" mkdir -p "/home/$USERNAME/usr"
useradd -m -d "/home/$USERNAME/usr" -G admin,users,wheel -s "/bin/bash" "$USERNAME"
# add user with groups
useradd -m -d "/home/$USERNAME/usr" -G "$GROUPS" -s "/bin/bash" "$USERNAME"
# give home directory ownership
chown -R "$USERNAME:$USERNAME" "/home/$USERNAME" chown -R "$USERNAME:$USERNAME" "/home/$USERNAME"
# have user set new user's password
echo "Setting password for user '$USERNAME'" echo "Setting password for user '$USERNAME'"
passwd "$USERNAME" passwd "$USERNAME"

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# installs pacaur on a fresh arch install
# install the dependencies # install the dependencies
sudo pacman -S git curl openssl perl expac yajl --noconfirm sudo pacman -S git curl openssl perl expac yajl --noconfirm
@ -26,4 +28,3 @@ cd -
# once installed, let the package manager manage itself and its dependencies # once installed, let the package manager manage itself and its dependencies
pacaur -S cower pacaur --noconfirm --noedit pacaur -S cower pacaur --noconfirm --noedit

View file

@ -1,51 +1,56 @@
#!/usr/bin/env bash #!/usr/bin/env bash
pacaur -S \ pacaur -S \
tree \ tree `# Handy Filesystem Viewing Utility` \
rofi \ rofi `# Application Launcher` \
the_silver_searcher ripgrep \ the_silver_searcher ripgrep `# Code Search Utilities` \
alsa-utils \ alsa-utils `# Audio Utilities` \
htop \ htop `# Process Management and System Resources Monitoring` \
openssh \ openssh `# Remote Access` \
openssl \ openssl `# Crypto` \
ruby \ ruby `# Language` \
nodejs npm \ nodejs npm `# Language` \
python python-pip \ python python-pip `# Python 3 Language` \
python2 python2-pip \ python2 python2-pip `# Language` \
pass \ pass `# Password Management` \
google-chrome-dev \ google-chrome-dev `# Default Web Browser` \
bash-completion \ bash-completion `# Handy Scripts for Tab-Completion in Bash` \
fzf \ fzf `# Fuzzy File Finder` \
rsync \ rsync `# File Transfer` \
pulseaudio pavucontrol \ pulseaudio pavucontrol `# Audio Backend and Controls` \
neovim vim \ neovim vim `# Text Editors` \
unzip \ unzip `# Handy Utility for ZIP Files` \
xsel \ xsel `# Manage X Selection` \
xclip \ xclip `# Manage X Clipboards` \
tmux \ tmux `# Terminal Multiplexer` \
rxvt-unicode-pixbuf \ rxvt-unicode-pixbuf `# Terminal with PixBuf Patches` \
xorg-xinit xorg-server xorg-xrdb \ xorg-xinit xorg-server xorg-xrdb `# X.org Display Server` \
xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool feh xorg-xprop \ xorg-drivers `# Video Drivers for X?` \
irssi \ xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool feh xorg-xprop `# X Utilties` \
pulseaudio-ctl \ pulseaudio-ctl `# CLI Utility for Pulseaudio` \
alsa-plugins \ alsa-plugins `# Plugins for ALSA` \
unclutter-xfixes-git gtk-engine-murrine xorg-server-devel \ unclutter-xfixes-git `# Hides cursor after no use for a time` \
bspwm-git sxhkd-git xdo-git \ gtk-engine-murrine xorg-server-devel `# GTK Theme Base and Headers?` \
terminus-font ttf-monaco \ bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \
ttf-freefont \ terminus-font ttf-monaco `# Primary Fonts` \
ttf-font-awesome \ ttf-freefont `# Font` \
curl \ ttf-font-awesome `# Icon Font` \
w3m w3m-img \ curl `# HTTP Utility` \
w3m w3m-img `# Viewing Images in Terminals` \
--noconfirm --noedit --noconfirm --noedit
# install text editor utilities
sudo pip3 install neovim sudo pip3 install neovim
sudo pip2 install neovim sudo pip2 install neovim
# shortcut for browser
sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
# install patched fonts
mkdir -p "$HOME/.fonts/OTF" mkdir -p "$HOME/.fonts/OTF"
curl -L -o "$HOME/.fonts/OTF/monaco_powerline_nerd_font.otf" https://github.com/taohex/font/raw/master/Monaco%20for%20Powerline%20Nerd%20Font%20Complete.otf curl -L -o "$HOME/.fonts/OTF/monaco_powerline_nerd_font.otf" https://github.com/taohex/font/raw/master/Monaco%20for%20Powerline%20Nerd%20Font%20Complete.otf
fc-cache -vf fc-cache -vf
# install rxvt-unicode script for resizing font on-the-fly
mkdir -p "$HOME/.urxvt/ext" mkdir -p "$HOME/.urxvt/ext"
curl -L -o "$HOME/.urxvt/ext/resize-font" https://raw.githubusercontent.com/simmel/urxvt-resize-font/master/resize-font curl -L -o "$HOME/.urxvt/ext/resize-font" https://raw.githubusercontent.com/simmel/urxvt-resize-font/master/resize-font

View file

@ -1,31 +1,28 @@
#!/usr/bin/env bash #!/usr/bin/env bash
pacaur -S \ pacaur -S \
gtk-theme-arc-git \ gtk-theme-arc-git `# GTK Theme` \
xorg-drivers \ elementary-icon-theme `# GUI File Explorer Icons` \
elementary-icon-theme \ thunar thunar-volman gvfs `# GUI File Explorer + Volume Management/Auto-Mount Disks)` \
lemonbar-xft-git \ gvfs-smb `# Auto-Detect Samba Shares` \
thunar thunar-volman gvfs \ ttf-opensans ttf-dejavu ttf-liberation `# Fonts` \
gvfs-smb \ avr-libc avr-gcc dfu-programmer dfu-util `# Keyboard Programming Utilities` \
ttf-opensans ttf-dejavu ttf-liberation \ xorg-xbacklight `# Xorg Backlight Control` \
avr-libc avr-gcc dfu-programmer dfu-util \ gimp inkscape krita `# Image/Vector Editing Applications` \
xorg-xbacklight \ audacity `# Audio Editing Application` \
gimp inkscape krita \ cmake `# Cross-Platform Make` \
audacity \ irssi `# IRC Client` \
reptyr \ accountsservice `# Mainly for User Avatars with LightDM` \
cmake python python2-pip \ deluge `# GUI Torrent Client` \
accountsservice \ lightdm lightdm-gtk-greeter `# Nice User Login` \
xss-lock \ polybar-git `# Bar` \
deluge \
lightdm lightdm-gtk-greeter \
polybar-git \
php \ php \
nginx \ nginx `# Web Server` \
urxvt-perls-git urxvt-resize-font-git \ urxvt-perls-git urxvt-resize-font-git `# rxvt-unicode scripts` \
samba \ samba `# Sharing Files with other PCs` \
neofetch \ neofetch `# swag` \
cloc \ cloc `# For counting lines of code` \
wine-staging lib32-libpulse \ wine-staging lib32-libpulse `# WINE Goodies` \
ttf-noto-fonts-simple ttf-noto-fonts-ib noto-fonts-emoji \ ttf-noto-fonts-simple ttf-noto-fonts-ib noto-fonts-emoji `# Emoji` \
siji-git gohufont artwiz-fonts phallus-fonts-git \ siji-git gohufont artwiz-fonts phallus-fonts-git `# Bitmap Fonts` \
--noconfirm --noedit --noconfirm --noedit

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# todo?

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# TODO: setup weechat matrix plugin # TODO: setup weechat matrix plugin?
# git clone # git clone

View file

@ -2,7 +2,11 @@
# tmux plugin manager # tmux plugin manager
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm" git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
# load tmux config
tmux source "$HOME/.tmux.conf" tmux source "$HOME/.tmux.conf"
# clean, install, and update plugins
bash "$HOME/.tmux/plugins/tpm/bindings/clean_plugins" bash "$HOME/.tmux/plugins/tpm/bindings/clean_plugins"
bash "$HOME/.tmux/plugins/tpm/bindings/install_plugins" bash "$HOME/.tmux/plugins/tpm/bindings/install_plugins"
bash "$HOME/.tmux/plugins/tpm/bindings/update_plugins" bash "$HOME/.tmux/plugins/tpm/bindings/update_plugins"

4
setup
View file

@ -74,8 +74,8 @@ links=(
# bar files # bar files
"$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config" "$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config"
# neofetch config # ranger config
"$dfp/apps/ranger" "$XDG_CONFIG_HOME/ranger" "$dfp/pps/ranger/" "$XDG_CONFIG_HOME/ranger/"
# neofetch config # neofetch config
"$dfp/apps/neofetch/config" "$XDG_CONFIG_HOME/neofetch/config" "$dfp/apps/neofetch/config" "$XDG_CONFIG_HOME/neofetch/config"

View file

@ -49,12 +49,14 @@ alias tdf="tmux attach -t df || tmux new -s df -c \"$DOTFILES_PATH\""
alias tmon="tmux attach -t mon || tmux new -s mon" alias tmon="tmux attach -t mon || tmux new -s mon"
# git aliases # git aliases
# TODO: make these git aliases in the gitconfig?
alias gs="git status" alias gs="git status"
alias gl="git log" alias gl="git log"
alias gpl="git pull" alias gpl="git pull"
alias gp="git push" alias gp="git push"
alias grbpf="git push --force-with-lease" alias grbpf="git push --force-with-lease"
alias gac="git add -A && git commit" alias gac="git add -A && git commit"
alias gsur="git submodule update --remote"
grb() { grb() {
MAIN_BRANCH="master" MAIN_BRANCH="master"
@ -85,6 +87,7 @@ alias p="ping 8.8.8.8"
alias setbg="feh --bg-fill" alias setbg="feh --bg-fill"
alias C="clear && clear" alias C="clear && clear"
alias keyrepeat="xset r rate 250 80" alias keyrepeat="xset r rate 250 80"
alias r="ranger"
# games aliases # games aliases
# this sometimes fixes steam dynamic library issues? # this sometimes fixes steam dynamic library issues?