dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 4a10afa7bca68a125e4200b9f8aa0fc142d7b662
parent 03cb453ed5cb3d3738705edca495189f75e4606a
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Wed Aug 28 08:15:29 2013

Merge branch 'master' of gitorious.org:z3bra/dotfiles

Diffstat:
 irssi/config          |  7 ++++---
 ratpoisonrc           | 19 +++++++++++--------
 vim/colors/shadow.vim |  2 --
 vimrc                 | 11 ++++-------
 zshrc                 |  7 ++++---
 5 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/irssi/config b/irssi/config @@ -24,7 +24,7 @@ servers = ( address = "irc.gamesurge.net"; chatnet = "gamesurge"; port = "6667"; - autoconnect = "yes"; + autoconnect = "no"; }, { address = "irc.unixhub.net"; @@ -65,7 +65,7 @@ channels = ( # {{{ { name = "#defrag-france"; chatnet = "quakenet"; autojoin = "Yes"; }, { name = "#vim-fr"; chatnet = "freenode"; autojoin = "Yes"; }, - { name = "#archlinux"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#archlinux"; chatnet = "freenode"; autojoin = "No"; }, { name = "#archlinux-fr"; chatnet = "freenode"; autojoin = "Yes"; }, { name = "#archlinux-newbie"; @@ -77,7 +77,7 @@ channels = ( chatnet = "blinkenshell"; autojoin = "Yes"; }, - { name = "#unixhub"; chatnet = "unixhub"; autojoin = "No"; }, + { name = "#unixhub"; chatnet = "unixhub"; autojoin = "Yes"; }, { name = "#cube.fr"; chatnet = "gamesurge"; autojoin = "Yes"; } ); # }}} @@ -117,6 +117,7 @@ aliases = { IG = "ignore"; UNIG = "unignore"; SB = "scrollback"; + SH = "exec -"; UMODE = "mode $N"; WC = "window close"; WN = "window new hide"; diff --git a/ratpoisonrc b/ratpoisonrc @@ -1,28 +1,29 @@ # ~/.ratpoisonrc unmanage rdesktop -unmanage screenkey +unmanage MPlayer # options startup_message off # ratpoison -set border 0 -set padding 20 40 20 20 +set border 28 +set padding 16 36 16 16 set fgcolor #e8e9ca -set bgcolor #231f20 -set font "cure" +set bgcolor #232323 +set font "tamsyn" set winname name set winfmt %s%8t set inputwidth 256 set bargravity nw set barborder 0 -set barinpadding 1 +set barinpadding 0 set barpadding 0 0 # aliases alias ls exec ratpoison -c "echo $(~/bin/rpls)" alias showroot exec ratpoison -c 'select -' -c 'only' +alias sshot exec ~/bin/instagram ratpoison-$(date +%Y-%m-%d).jpg alias getvol exec ratpoison -c "echo vol. $(amixer sget Master | tail -1 | awk '{print $5}')" # hooks @@ -43,7 +44,7 @@ escape s-space # session definekey top C-M-q quit definekey top C-M-r restart -definekey top C-M-l exec slock +definekey top M-l exec xtrlock && beep -f 5000 -l 5 -r 5 bind Escape abort # multiscreen ? @@ -54,6 +55,8 @@ definekey top s-Right nextscreen definekey top M-F1 exec ratpoison -c "gselect 1" definekey top M-F2 exec ratpoison -c "gselect 2" definekey top M-F3 exec ratpoison -c "gselect 3" +definekey top M-p exec ratpoison -c "gprev" +definekey top M-n exec ratpoison -c "gnext" # direction definekey top M-Tab next @@ -98,7 +101,7 @@ definekey top s-w windows definekey top XF86HomePage exec dwb definekey top XF86Calculator exec urxvt definekey top s-Return exec urxvt -definekey top Print exec ~/bin/instagram ratpoison-$(date +%Y-%m-%d).jpg +definekey top Print sshot definekey top XF86Mail exec urxvt -e mutt # media keys diff --git a/vim/colors/shadow.vim b/vim/colors/shadow.vim @@ -11,7 +11,6 @@ endif let colors_name = "shadow" -if &t_Co > 15 " Window elements hi Cursor ctermfg=0 ctermbg=15 hi Folded ctermfg=8 ctermbg=0 @@ -59,4 +58,3 @@ if &t_Co > 15 hi! link xmlEntity Statement hi! link xmlCData Comment hi! link xmlAttrib Attribute -endif diff --git a/vimrc b/vimrc @@ -5,7 +5,7 @@ " vim: fdm=marker:tw=80:cc=81:noai:et " " Section : -" > General +" > General " > Interface " > Colors & more " > Files @@ -68,9 +68,6 @@ set nonumber " Make <BACKSPACE> do what it should do set backspace=indent,eol,start -" Improve display -set ttyfast - " Define the offset with the cursor when moving vertically set so=7 @@ -104,7 +101,7 @@ set tm=500 syntax on " Use 256 colors -set t_Co=256 +" set t_Co=256 " Theme & colors colorscheme sandstorm @@ -222,7 +219,7 @@ set statusline= set ruler " put everything I need in the ruler -set rulerformat=%-50(%=%M%H%R\ %f%<\ (%n)%4(%)%Y:%{&tw}%9(%l,%c%V%)%4(%)%P%) +set rulerformat=%-64(%=%M%H%R\ %f\ (%n)%<%4(%)%Y:%{&tw}%9(%l,%c%V%)%4(%)%P%) set list set listchars=tab:\|\ ,trail:⋅,nbsp:˽ @@ -309,7 +306,7 @@ fu! ToggleTW(num) endfu " Increment a column of number -function! Incr() +fu! Incr() let a = line('.') - line("'<") let c = virtcol("'<") if a > 0 diff --git a/zshrc b/zshrc @@ -74,8 +74,9 @@ alias sv='sudo vim' ## ALSA alias vol='alsamixer' -# TMUX -alias t='tmux -2' forces 256 colors +# TMUX / DTACH +alias t='tmux' forces 256 colors +alias d='dtach -a ~/tmp/irssi.sk' # BTPD alias btc="btcli -d ~/var/btp" @@ -85,7 +86,7 @@ alias rec="ffmpeg -f x11grab -s 1440x900 -r 25 -i :0.0 output.mkv" # HANDY RICKY SCRIPT alias rick="echo 'curl -L \'http://bit.ly/10hA8iC\' | bash'" -alias rcommit="curl -s 'http://whatthecommit.com/index.txt\'" +alias rcommit="curl -s 'http://whatthecommit.com/index.txt'" ## }}}