dotfiles

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

commit d5cb64d1bc7ee62a68819eee5a7b327dca7faf6e
parent 8614680dccc1ae911fb286334a042a00ea3752b5
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Thu Sep 12 19:57:49 2013

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

Diffstat:
 cwmrc                 | 30 +++++++++++++-----------------
 vim/colors/shadow.vim | 25 +++++++++++++------------
 xinitrc               | 20 ++++++--------------
 3 files changed, 32 insertions(+), 43 deletions(-)

diff --git a/cwmrc b/cwmrc @@ -1,5 +1,5 @@ # Set default Xft(3) font -fontname "cure" +fontname "tamsyn" # Turn on sticky-group mode sticky yes @@ -11,31 +11,27 @@ command fichier pcmanfm command libreoffice libreoffice command qlprism "/home/z3bra/.quakelive/qlprism/qlprism.sh" -# Ignore programs by that name by not drawing borders around them. -ignore bar -ignore wbar - # automatic grouping for specific windows autogroup 2 Dwb autogroup 5 QLPrism # behavior, look & feel -borderwidth 8 -color activeborder "#666666" -color inactiveborder "#444444" -color font "#443c28" -color selfont "#e8e9ca" -color menubg "#e8e9ca" -color menufg "#443c28" -color groupborder "#2244ac" -color ungroupborder "#ac4422" +borderwidth 2 +color activeborder "#d75f00" +color inactiveborder "#303030" +color font "#d75f00" +color menubg "#303030" +color selfont "#ffffff" +color menufg "#1d1d1d" +color groupborder "#8ea433" +color ungroupborder "#eee685" -gap 10 40 10 10 +gap 36 16 10 10 moveamount 4 snapdist 0 # Keybindings - # unbind + # unbind bind M-return unmap # Windows control # SIZE @@ -105,7 +101,7 @@ bind 4-w dwb bind 4-q 'sh -c ~/.quakelive/qlprism/qlprism.sh' bind 4-exclam exec bind 4-colon ssh -bind 4S-slash search +bind 4S-slash search # Mousebindings mousebind M-1 window_move diff --git a/vim/colors/shadow.vim b/vim/colors/shadow.vim @@ -12,24 +12,25 @@ endif let colors_name = "shadow" " Window elements - hi Cursor ctermfg=0 ctermbg=15 - hi Folded ctermfg=8 ctermbg=0 + hi Cursor ctermfg=7 ctermbg=0 cterm=bold + hi CursorLine ctermfg=0 ctermbg=7 cterm=none + hi Folded ctermfg=0 ctermbg=0 cterm=bold hi LineNr ctermfg=7 hi NonText ctermfg=7 hi Normal ctermfg=7 - hi StatusLine ctermfg=15 ctermbg=0 cterm=none - hi Visual ctermfg=15 ctermbg=0 + hi StatusLine ctermfg=7 ctermbg=0 cterm=bold + hi Visual ctermfg=7 ctermbg=0 " Main groups - hi Comment ctermfg=15 - hi Constant ctermfg=11 cterm=none - hi Statement ctermfg=11 cterm=none - hi StatementU ctermfg=11 cterm=underline - hi Keyword ctermfg=8 + hi Comment ctermfg=0 cterm=bold + hi Constant ctermfg=3 cterm=bold + hi Statement ctermfg=3 cterm=bold + hi StatementU ctermfg=1 + hi Keyword ctermfg=3 hi Underlined cterm=underline - hi Error ctermfg=15 ctermbg=1 + hi Error ctermfg=7 ctermbg=1 cterm=bold + hi String ctermfg=1 cterm=bold - hi! link String Constant hi! link Character Constant hi! link Number Constant hi! link Boolean Constant @@ -46,7 +47,7 @@ let colors_name = "shadow" hi! link Ignore Normal hi! link Todo Error - hi! link Title Normal + hi! link Title Normal hi! link phpDefine StatementU diff --git a/xinitrc b/xinitrc @@ -17,10 +17,10 @@ function wm() { xbindkeys #status bar - ~/bin/bar/status.sh & + ~/bin/bar/status.sh & # it acts kinda weirdly # Set wallpaper - hsetroot -fill ~/usr/img/bg/shblah.png & + hsetroot -fill ~/usr/img/bg/map.jpg & # Compositing # enable RGBA module for GTK @@ -30,17 +30,9 @@ function wm() { compton -cCb -r16 -t-22 -l-22 -o.8 # spawn window manager - case $1 in - rat) exec ratpoison;; - cwm) exec cwm;; - esac + exec $1 } -case $1 in - cwm) wm cwm;; - rat) wm rat;; - qlp) exec ~/.quakelive/qlprism/qlprism.sh;; - q3a) exec /opt/quake3/iodfengine.x86_64;; - cub) exec sauerbraten-client;; - *) wm cwm;; -esac +[[ -z $1 ]] && wm cwm + +wm $1