dotfiles

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

commit 646b67934fb8c89148114a935dfcd7ec4cdfb1c9
parent 2c851aeeefeddd91de156b00462b75c03e3c638d
Author: Willy Goiffon <z3bra@blinkenshell.org>
Date:   Sun Oct 13 21:39:47 2013

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

Diffstat:
 Xresources  | 11 ++------
 cwmrc       | 84 +++++++++++++++++++++++++++++++-------------------------------
 mutt/muttrc |  3 +-
 tmux.conf   |  8 +++---
 vimrc       |  4 ++-
 xinitrc     | 11 +++++---
 zshrc       |  8 ++----
 7 files changed, 65 insertions(+), 64 deletions(-)

diff --git a/Xresources b/Xresources @@ -5,19 +5,19 @@ ! ============================================================== ! Terminal colors (dark) --------------------------------------- -*background:#232323 +*background:#222222 *foreground:#e8e9ca -*color0: #1d1d1d +*color0: #222222 *color1: #8b3e2f *color2: #526f33 *color3: #665847 *color4: #4a708b *color5: #7a378b *color6: #528b8b -*color7: #aba472 +*color7: #999999 -*color8: #232323 +*color8: #4c4c4c *color9: #d75f00 *color10: #cee318 *color11: #eee685 @@ -32,9 +32,6 @@ URxvt*termName: rxvt-256color URxvt*loginShell: false URxvt*saveLines: 1024 URxvt*geometry: 96x20 -URxvt*transparent: true -URxvt*shading: 28 -URxvt*blurRadius: 20 URxvt*depth: 32 URxvt*font: -misc-tamsyn-medium-*-*--14-101-*-*-*-*-* URxvt*boldFont: -misc-tamsyn-medium-*-*--14-101-*-*-*-*-* diff --git a/cwmrc b/cwmrc @@ -9,61 +9,58 @@ command term urxvt command internet surf http://duckduckgo.com/lite command fichier pcmanfm command libreoffice libreoffice -command qlprism "/home/z3bra/.quakelive/qlprism/qlprism.sh" +command quakelive "xinit ~/.quakelive/xinit -- :1" +command defrag /opt/quake3/iodfengine.x86_64 # automatic grouping for specific windows autogroup 2 Dwb -autogroup 5 QLPrism # behavior, look & feel -borderwidth 4 +borderwidth 1 +color inactiveborder "#111111" color activeborder "#4c4c4c" -color inactiveborder "#d75f00" -color font "#d75f00" -color menubg "#303030" +color font "#ffffff" +color menubg "#222222" color selfont "#ffffff" -color menufg "#1d1d1d" -color groupborder "#8ea433" -color ungroupborder "#eee685" +color menufg "#4c4c4c" +color groupborder "#526f33" +color ungroupborder "#8b3e2f" gap 36 16 10 10 -moveamount 4 +moveamount 2 snapdist 0 # Keybindings - # unbind - bind M-return unmap -# Windows control - # SIZE - bind 4-equal vmaximize - bind 4S-equal hmaximize - bind 4-x maximize - bind 4M-h resizeleft - bind 4M-j resizedown - bind 4M-k resizeup - bind 4M-l resizeright - bind 4MS-h bigresizeleft - bind 4MS-j bigresizedown - bind 4MS-k bigresizeup - bind 4MS-l bigresizeright +# SIZE +bind 4-equal vmaximize +bind 4S-equal hmaximize +bind 4-x maximize +bind 4M-h resizeleft +bind 4M-j resizedown +bind 4M-k resizeup +bind 4M-l resizeright +bind 4MS-h bigresizeleft +bind 4MS-j bigresizedown +bind 4MS-k bigresizeup +bind 4MS-l bigresizeright - # POSITION - bind 4-s htile - bind 4-v vtile - bind 4-h moveleft - bind 4-j movedown - bind 4-k moveup - bind 4-l moveright - bind 4S-h bigmoveleft - bind 4S-j bigmovedown - bind 4S-k bigmoveup - bind 4S-l bigmoveright +# POSITION +bind 4-s htile +bind 4-v vtile +bind 4-h moveleft +bind 4-j movedown +bind 4-k moveup +bind 4-l moveright +bind 4S-h bigmoveleft +bind 4S-j bigmovedown +bind 4S-k bigmoveup +bind 4S-l bigmoveright - # CONTROL - bind 4-a label - bind 4-Escape delete - bind 4-n cycle - bind 4-p rcycle +# CONTROL +bind 4-a label +bind 4-Escape delete +bind 4-n cycle +bind 4-p rcycle # Group control bind M-g grouptoggle @@ -98,7 +95,7 @@ bind CM-q quit bind 4-Return terminal bind 4-space terminal bind 4-w dwb -bind 4-q 'sh -c ~/.quakelive/qlprism/qlprism.sh' +bind 4-q 'xinit ~/.quakelive/xinit -- :1' bind 4-exclam exec bind 4-colon ssh bind 4S-slash search @@ -107,3 +104,6 @@ bind 4S-slash search mousebind M-1 window_move mousebind M-2 window_grouptoggle mousebind M-3 window_resize + +# unbind +bind M-return unmap diff --git a/mutt/muttrc b/mutt/muttrc @@ -22,7 +22,7 @@ set mbox=+archive ## --- Local directories --- set mailcap_path = "~/.mutt/mailcap" # how to view attachements -set header_cache="~/.mutt/hcache" # store headers +set header_cache="~/.mutt/cache/head" # store headers set tmpdir = "~/.mutt/temp" # where store postponed set message_cachedir="~/.mutt/cache/body" # store bodies set certificate_file="~/.mutt/certificates" # certificates @@ -51,6 +51,7 @@ mailboxes +INBOX \ +purchase \ +isfen \ +stuffs \ + +jobs \ +dev \ +--[done]---------------------------\ +sent \ diff --git a/tmux.conf b/tmux.conf @@ -48,8 +48,8 @@ set-option -g automatic-rename on set-option -g status-interval 15 set-option -g status-utf8 on - set-option -g status-justify "centre" - set-option -g status-position top + set-option -g status-justify "right" + set-option -g status-position bottom # default statusbar colors set-option -g status-fg black @@ -60,7 +60,7 @@ set-window-option -g window-status-fg black set-window-option -g window-status-bg default set-window-option -g window-status-attr bright - set-window-option -g window-status-format '●' + set-window-option -g window-status-format '•' #set-window-option -g window-status-format ' #W ' # active window title colors @@ -68,7 +68,7 @@ set-window-option -g window-status-current-bg default set-window-option -g window-status-current-attr bright #set-window-option -g window-status-current-format ' #W ' - set-window-option -g window-status-current-format '●' + set-window-option -g window-status-current-format '•' # default pane border color set-option -g pane-border-bg default diff --git a/vimrc b/vimrc @@ -332,7 +332,9 @@ fu! ViewTips() " $ wget http://bfontaine.net/fortunes/vimtweets " $ strfile vimtweets vimtweets.dat " # mv vimtweets* /usr/share/fortune/ - echomsg system('/usr/bin/fortune vimtweets') + if filereadable('/usr/bin/fortune') + echomsg system('/usr/bin/fortune vimtweets') + endif endfu " Insert <Tab> or i_CTRL_N depending on the context diff --git a/xinitrc b/xinitrc @@ -6,6 +6,9 @@ # load nvidia config nvidia-settings -l +# Set wallpaper +hsetroot -tile ~/usr/img/bg/stripes.png & + # default cursor xsetroot -cursor_name left_ptr & @@ -16,19 +19,19 @@ function wm() { # personnal bindings xbindkeys + # set WM name + xsetroot -name $1 + #status bar ~/bin/bar/status.sh & # it acts kinda weirdly - # Set wallpaper - hsetroot -fill ~/usr/img/bg/map.jpg & - # Compositing # enable RGBA module for GTK export GTK_MODULES=rgba #compton -cCb -t-5 -l-5 -r4.2 -o.4 #compton -cCb -r16 -t-22 -l-22 -o.8 - compton -cCb -o0 + compton -cb -o0 # spawn window manager exec $1 diff --git a/zshrc b/zshrc @@ -1,14 +1,12 @@ ## CONFIGURATION FILE FOR Z SHELL :: ENVIRONMENT {{{ -# Path for Go projects -export GOPATH=~/code/go -export PATH=$PATH:$GOPATH/bin:$HOME/bin:. -unset GOBIN # use GOPATH for install +# Improve the PATH +export PATH=$PATH:$HOME/bin:. # Remote MPD server export MPD_HOST='mpdconf@gavroche' -## }}} +## }}} ## CONFIGURATION FILE FOR Z SHELL :: MAIN {{{