Minor improvements

This commit is contained in:
Austen Adler 2015-04-18 23:12:55 -04:00
parent 865dc49bbb
commit 1f1c49e974
4 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,5 @@
set $mod Mod4
for_window [class=ownCloud] floating disable
assign [class=Firefox] 2
#assign [class=libreoffice] 3
#assign [class=soffice] 3

View File

@ -1,3 +1,3 @@
exec /usr/local/bin/i3
exec /usr/bin/ck-launch-session /usr/local/bin/i3
exec numlockx&
exec syndaemon -i .5 -d&

View File

@ -75,7 +75,7 @@ alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done'
alias adk='/home/stonewareslord/Applications/adk/bin/studio.sh & disown'
alias resource='. ~/.zshrc'
function ins(){
sudo zsh -c "emerge --fetchonly --autounmask-write -av $@&&emerge -v --quiet-build $@"
sudo zsh -c "emerge --autounmask-write -av $@"
}
alias etup='sudo etc-update'
alias search='apt-cache search'
@ -103,7 +103,7 @@ alias tux="wemux"
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
alias rname="while true;do echo -n \"Rename: \";read A;echo -n \"To: \";read B;i3-msg 'rename workspace $A to $B';done"
alias g="git $@"
alias stdns="sudo sh -c 'echo \"nameserver 8.8.8.8\\nnameserver 8.8.4.4\" > /etc/resolv.conf'"
alias stdns="sudo sh -c 'echo nameserver 8.8.8.8 > /etc/resolv.conf'"
alias fvim="vim -u NONE +\"so ~/.vim/plugged/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/plugged/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
alias fk='k `fzf --no-mouse -m -1 -x`'
alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
@ -225,9 +225,9 @@ function k(){
*.tar.xz) pv $1|tar xJf -;;
*.tar.bz2) pv $1|tar xjf -;;
*.tar.gz) pv $1|tar xzf -;;
*.tar) pv $1|tar xf ;;
*.tbz2) pv $1|tar xjf ;;
*.tgz) pv $1|tar xzf ;;
*.tar) pv $1|tar xf -;;
*.tbz2) pv $1|tar xjf -;;
*.tgz) pv $1|tar xzf -;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip $1 ;;

View File

@ -157,14 +157,14 @@ set directory=~/.vim/tmp
set undolevels=1000
set history=500
set ttyfast
set ff=unix
set fileformat=unix
set encoding=utf-8
set laststatus=2
set foldmethod=indent
set foldnestmax=10
set foldlevel=2
set rnu
set nu
set relativenumber
set number
set ts=2 sw=2 et
set background=dark
set t_Co=256