Skip to content

Instantly share code, notes, and snippets.

@wils0ns
Last active April 2, 2018 16:28
Show Gist options
  • Save wils0ns/0ee07031a53d8b3390997939dd2a0ec6 to your computer and use it in GitHub Desktop.
Save wils0ns/0ee07031a53d8b3390997939dd2a0ec6 to your computer and use it in GitHub Desktop.
arch workstation setup
syntax on
filetype plugin indent on
set expandtab
set nopaste
set autoindent
set clipboard+=unnamed
set colorcolumn=120
set nocompatible
set path+=**
set wildmenu
# Fix for:
# Package xorg-server was not found in the pkg-config search path.
# Perhaps you should add the directory containing `xorg-server.pc'
yaourt -S xorg-server-devel
# Consider just using masterless salt and creating some states:
# https://docs.saltstack.com/en/latest/topics/installation/arch.html
# tmux cheatsheet: https://gist.github.com/andreyvit/2921703
pacman -S tmux
# vscode
yaourt -S visual-studio-code-bin
# enable better font on vs-code
pacman -S ttf-droid
# Enable bluetooth
pacman -S bluez bluez-utils
systemctl enable bluetooth
systemctl start bluetooth
# remote access
yaourt -S teamviewer
# good-looking shells
yaourt -S powerline powerline-fonts
# screenshot tool
yaourt -S deepin-screenshot
# powerline setup:
# Add the following to your ~/.bashrc:
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
# Download powerline fonts:
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
# Check your fonts path with `xset q` and install the new one:
mv PowerlineSymbols.otf /usr/share/fonts/OTF/
fc-cache -vf /usr/share/fonts/
mv 10-powerline-symbols.conf /etc/fonts/conf.d/
# add the following to ~/.tmux.conf:
source /usr/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal screen-256color
# add the following to ~/.vimrc:
yaourt -S cups
systemctl enable org.cups.cupsd.service
systemctl start org.cups.cupsd.service
yaourt -S virtualbox
# pick virtualbox-host-modules-arch
systemctl restart systemd-modules-load.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment