diff --git a/i3/config b/i3/config index aa3527f..f7b7eda 100644 --- a/i3/config +++ b/i3/config @@ -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 diff --git a/i3/xsession b/i3/xsession index 1be03d4..b662f01 100644 --- a/i3/xsession +++ b/i3/xsession @@ -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& diff --git a/shells/zshrc b/shells/zshrc index 213f417..b30f07c 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -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 ;; diff --git a/vim/vimrc b/vim/vimrc index b82e5ad..2c2681d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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