dotfiles

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

commit 45ba7d9da4bcc71be7b196e712a972d0c0def512
parent d5cb64d1bc7ee62a68819eee5a7b327dca7faf6e
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Tue Sep 24 10:17:08 2013

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

Diffstat:
 Xresources               | 67 +++++++++++++++++-----------------
 bashrc                   | 74 +++++++++++++++++++++++++++-----------
 cwmrc                    |  6 +--
 irssi/config             | 56 ++++++++++++++++++++++++++++-
 irssi/default.theme      | 96 +++++++++++++++++++++++++------------------------
 screenrc                 | 11 ++----
 vim/colors/dust.vim      | 55 ++++++++++++++++++++++++++++-
 vim/colors/sandstorm.vim |  2 +-
 vim/colors/shadow.vim    |  2 +-
 vimrc                    |  8 +++-
 xinitrc                  |  5 +--
 11 files changed, 266 insertions(+), 116 deletions(-)

diff --git a/Xresources b/Xresources @@ -4,51 +4,54 @@ ! vim: set fenc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=xdefaults: ! ============================================================== -! Terminal colors ---------------------------------------------- +! Terminal colors (dark) --------------------------------------- *background:#232323 *foreground:#e8e9ca -*color0: #232323 +*color0: #1d1d1d *color1: #8b3e2f *color2: #526f33 -*color3: #8B814C -*color4: #4A708B -*color5: #7A378B -*color6: #528B8B -*color7: #999999 +*color3: #665847 +*color4: #4a708b +*color5: #7a378b +*color6: #528b8b +*color7: #aba472 -*color8: #4c4c4c +*color8: #232323 *color9: #d75f00 -*color10: #8ea433 -*color11: #EEE685 -*color12: #9AC0CD -*color13: #9F79EE -*color14: #79CDCD -*color15: #E8E9CA +*color10: #cee318 +*color11: #eee685 +*color12: #9ac0cd +*color13: #9f79ee +*color14: #79cdcd +*color15: #e8e9ca ! URxvt (rxvt-unicode) ----------------------------------------- -URxvt*termName: rxvt-256color -URxvt*loginShell: false -URxvt*saveLines: 1024 -URxvt*geometry: 80x16 -URxvt*depth: 32 -URxvt*font: -misc-tamsyn-medium-*-*--14-101-*-*-*-*-* -URxvt*boldFont: -misc-tamsyn-medium-*-*--14-101-*-*-*-*-* -URxvt*scrollBar: false -URxvt*cursorBlink: false -URxvt*cursorColor: #535353 -URxvt*internalBorder: 2 -URxvt*perl-ext-common: default,url-select,keyboard-select -URxvt.url-select.launcher: /usr/bin/dwb +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-*-*-*-*-* +URxvt*scrollBar: false +URxvt*cursorBlink: false +URxvt*cursorColor: white +URxvt*internalBorder: 2 +URxvt*perl-ext-common: default,url-select,keyboard-select +URxvt.url-select.launcher: /usr/bin/dwb URxvt.url-select.underline: true -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.keysym.M-v: perl:keyboard-select:activate +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.keysym.M-v: perl:keyboard-select:activate ! Colored man pages -URxvt.colorIT: #cacaca -URxvt.colorBD: #ae8510 -URxvt.colorUL: #a28c64 +URxvt.colorIT: #cacaca +URxvt.colorBD: #eee685 +URxvt.colorUL: #a28c64 ! XTerm --------------------------------------------------------- diff --git a/bashrc b/bashrc @@ -2,6 +2,7 @@ # ~/.bashrc # +## INIT {{{ # If not running interactively, don't do anything [[ $- != *i* ]] && return @@ -13,15 +14,50 @@ complete -cf sudo complete -cf man complete -cf killall complete -cf pkill +# }}} -# vim as default editor -export EDITOR='vim' +## FUNCTIONS {{{ +function start() { sudo /etc/rc.d/$1 start; } +function stop() { sudo /etc/rc.d/$1 stop; } +function restart() { sudo /etc/rc.d/$1 restart; } -# use vi-like CLI -set -o vi +function thumbify() { + if [ -f $1 ]; then + cp $1 thumb-$1 + if [ $2 ]; then + mogrify -resize $2 thumb-$1 + else + mogrify -resize 250x250 thumb-$1 + fi + else + echo "Error: '$1' is not a valid file!" + fi +} +function ttycolors() { + if [ "$TERM" = "linux" ]; then + echo -en "\e]P0232323" #black -> this is the background color as well. + echo -en "\e]P18b3e2f" #darkred + echo -en "\e]P2526f33" #darkgreen + echo -en "\e]P38b814c" #brown + echo -en "\e]P44a708b" #darkblue + echo -en "\e]P57a378b" #darkmagenta + echo -en "\e]P6528b8b" #darkcyan + echo -en "\e]P7e8e9ca" #lightgray + echo -en "\e]P8666666" #darkgray + echo -en "\e]P9d75f00" #red + echo -en "\e]PA8ea433" #green + echo -en "\e]PBeee685" #yellow + echo -en "\e]PC9ac0cd" #blue + echo -en "\e]PD9f79ee" #magenta + echo -en "\e]PE79cdcd" #cyan + echo -en "\e]PFffffff" #white -> this is the foreground color as well. + clear #for background artifacting + fi +} +## }}} -## ALIASES ## +## ALIASES {{{ ## Terminal alias quit="exit" @@ -55,21 +91,17 @@ alias sv="sudo vim" alias vol="alsamixer" alias t="tmux" +# }}} -## Functions -function start() { sudo /etc/rc.d/$1 start; } -function stop() { sudo /etc/rc.d/$1 stop; } -function restart() { sudo /etc/rc.d/$1 restart; } +## CONFIG {{{ +# vim as default editor +export EDITOR='vim' -function thumbify() { - if [ -f $1 ]; then - cp $1 thumb-$1 - if [ $2 ]; then - mogrify -resize $2 thumb-$1 - else - mogrify -resize 250x250 thumb-$1 - fi - else - echo "Error: '$1' is not a valid file!" - fi -} +# use vi-like CLI +set -o vi + +# change tty colors +ttycolors +# }}} + +# vim: fdm=marker: diff --git a/cwmrc b/cwmrc @@ -16,9 +16,9 @@ autogroup 2 Dwb autogroup 5 QLPrism # behavior, look & feel -borderwidth 2 -color activeborder "#d75f00" -color inactiveborder "#303030" +borderwidth 4 +color activeborder "#4c4c4c" +color inactiveborder "#d75f00" color font "#d75f00" color menubg "#303030" color selfont "#ffffff" diff --git a/irssi/config b/irssi/config @@ -274,7 +274,7 @@ settings = { real_name = "Bill Gfn"; user_name = "z-brah"; nick = "z3bra"; - # timestamp_format = "%H:%M:%S"; + timestamp_format = "%H%M"; quit_message = "int random_number() { return 3; /*number randomly chosen with a dice roll*/ }"; }; @@ -309,3 +309,57 @@ hilights = ( # }}} logs = { }; +ignores = ( ); + +windows = { + 1 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#vim-fr"; + tag = "freenode"; + } + ); + }; + 2 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#archlinux-fr"; + tag = "freenode"; + } + ); + }; + 3 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#unixhub"; + tag = "unixhub"; + } + ); + }; + 4 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#defrag-france"; + tag = "quakeNet"; + } + ); + }; + 5 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#blinkenshell"; + tag = "blinkenshell"; + } + ); + }; +}; diff --git a/irssi/default.theme b/irssi/default.theme @@ -59,20 +59,20 @@ info_eol = "false"; # these characters are automatically replaced with specified color # (dark grey by default) -replaces = { "[]" = "%g$*%n"; }; +replaces = { "[]" = "%y$*%n"; }; abstracts = { # {{{ ############# generic ############################### - indent_default = "11"; + indent_default = "8"; # text to insert at the beginning of each non-message line # line_start = "%g//%n "; line_start = ""; # timestamp styling, nothing by default - timestamp = ""; + timestamp = "%W$0%N"; # any kind of text that needs hilighting, default is to bold hilight = "%_$*%_"; @@ -81,19 +81,19 @@ abstracts = { # {{{ error = "%R$*%n"; # channel name is printed - channel = "%b$*%n"; + channel = "%N$*%n"; # nick is printed nick = "%_$*%_"; # nick host is printed - nickhost = "%g$*"; + nickhost = "%N$*"; # server name is printed - server = "%_$*%_"; + server = "%y$*%N"; # some kind of comment is printed - comment = "%n(%b\"$*\"%n);"; + comment = "%n(%K$*%n)"; # reason for something is printed (part, quit, kick, ..) reason = "{comment $*}"; @@ -104,7 +104,7 @@ abstracts = { # {{{ ## channel specific messages # highlighted nick/host is printed (joins) - channick_hilight = "%g$*%N"; + channick_hilight = "%y$*%N"; chanhost_hilight = "{nickhost $*}"; # nick/host is printed (parts, quits, etc.) @@ -112,7 +112,7 @@ abstracts = { # {{{ chanhost = "{nickhost $*}"; # highlighted channel name is printed - channelhilight = "%g$*%n"; + channelhilight = "%y$*%n"; # ban/ban exception/invite list mask is printed ban = "$*"; @@ -121,7 +121,7 @@ abstracts = { # {{{ # the basic styling of how to print message, $0 = nick mode, $1 = nick # msgnick = "$1-$0%K·%N %|"; - msgnick = "%w$0%n $1 %K:%n %|"; + msgnick = "%R$0%w $1 %K│%n %|"; # $0 = nick mode, $1 = nick ownmsgnick = "{msgnick $0 $1}"; @@ -129,11 +129,11 @@ abstracts = { # {{{ # public message in channel, $0 = nick mode, $1 = nick pubmsgnick = "{msgnick $0 $1}"; - pubnick = "%N$*%n"; + pubnick = "%w$*%n"; # public highlighted message in channel pubmsghinick = "{msgnick $0 $1}%w"; - menick = "%B$*%n"; + menick = "%R$*%n"; # channel name is printed with message msgchannel = "%K:%m$*%n"; @@ -146,22 +146,22 @@ abstracts = { # {{{ # private message in query # privmsgnick = "{msgnick $*}"; - privmsgnick = "%g<<%N %|"; + privmsgnick = "%Rstranger %K>%R> %N%|"; # own private message in query #ownprivmsgnick = "{privmsgnick $*}"; - ownprivmsgnick = "%b>>%N %|"; + ownprivmsgnick = "%Yyou %K>%Y> %N%|"; #ownprivnick = "$*"; ########## Actions (/ME stuff) ######################### # generic one that's used by most actions - action = " %m$* %M* %m%|"; + action = " %Y$* %y│ %Y%|"; # own action, both private/public # ownaction = "{action $*}"; - ownaction = " %m$* %M*%N%m"; + ownaction = " %K$* %y│%Y"; # own action with target, both private/public ownaction_target = "{action $*}"; @@ -177,7 +177,7 @@ abstracts = { # {{{ ########## other IRC events ############################# # whois - whois = "%# $[8]0 = $1-;"; + whois = "%# $[8]0 = $1-;%:"; # notices ownnotice = "%NNote n = %Mnew%n $0 ($1-) "; @@ -187,7 +187,7 @@ abstracts = { # {{{ servernotice = " %N($*)"; # CTCPs - ownctcp = "%NCTCP c = %Mnew%n $0 ($1-) "; + ownctcp = "%NCTCP c = %Ynew%n $0 ($1-) "; ctcp = "%N$*%n"; # wallops @@ -196,16 +196,16 @@ abstracts = { # {{{ wallop_action = "%K * $*%n "; # netsplits - netsplit = " %Knsplit %R< %b\"$*\"%n"; - netjoin = " %Knjoin %G> %b\"$*\"%n"; + netsplit = " %Knsplit %R│ %b\"$*\"%n"; + netjoin = " %Knjoin %G│ %b\"$*\"%n"; # /names list - names_prefix = "%Y!%K! names %Y!%n "; + names_users = " %Y┌%y── %KNAMES%Y ─────%y──%Y───────────────────%y────%K───────── ─ ─ ── ─── "; names_nick = "%_$2$0%_%n$1- "; names_nick_op = "{names_nick $* %R}"; names_nick_halfop = "{names_nick $* %C}"; names_nick_voice = "{names_nick $* %K}"; - names_users = "%Y!%K! names %Y!%n $1"; + names_prefix = " %Y│%y│ %n $1"; names_channel = "\"%b$*\"%n"; # DCC @@ -216,7 +216,7 @@ abstracts = { # {{{ dccownmsg = "%g /* $0 ($1-) */"; dccownnick = "$*%n"; dccownquerynick = "$*%n"; - dccownaction = "{action $*}"; + dccownaction = "{a┌tion $*}"; dccownaction_target = "{action $*}"; # DCC chat, others @@ -258,40 +258,42 @@ formats = { # {{{ line_start = "{line_start}"; line_start_irssi = "{line_start}"; - join = "%G>%K> join %g>%n {channick $0}"; - part = "%R<%K< part %r<%n {channick $0}"; - kick = "%R<%K< kicked %r<%n {channick $0}"; - quit = "%R<%K< quit %r<%n {channick $0}"; - quit_once = "{channel $3} {channick $0} {chanhost $1} %Kquit {reason %C$2}"; + #join = " %Y┌%y── %KJOINS%Y %y────────%Y─%K──── ── ───%: %Y│%y│ %n{channick $0} %: %Y│%y│ %n{nickhost $1}%: %y└────%Y──────%K──────%y─────────────%K─ ─── ─ "; + join = "%G>%K> join %G│ %W{channick $0}%K: {nickhost %w$1}"; + part = "%R<%K< part %R│ %W{channick $0}%K: {reason %Y$3}"; + kick = "%r<%K< kick %r│ %W{channick $0}%K: {reason %r$3}"; + quit = "%R<%K< quit %R│ %W{channick $0}%K: {reason %R$2}"; + quit_once = "{channel $3} {channick $0} {chanhost $1} %Kquit {reason %r$2}"; - nick_changed = "%K{channick $[-13]0} %G>%n {channick $1}"; - your_nick_changed = "%K you %G>%n {channick $1}"; + nick_changed = "%Y!%K! rename %y│ %n{channick $0} %K: %Y{channick $1}"; + your_nick_changed = "%Y!%K! rename %y│ %nyou%K: %Y{channick $1}"; - pubmsg = "{pubmsgnick $2 {pubnick $[-11]0}}$1"; + pubmsg = "{pubmsgnick $2 {pubnick $[-8]0}}$1"; - own_msg = "{ownmsgnick $2 {ownnick $[-11]0}}$1"; - own_msg_channel = "{ownmsgnick $3 {ownnick $[-11]0}{msgchannel $1}}$2"; - own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-11]2}}$1"; + own_msg = "{ownmsgnick $2 {ownnick $[-8]0}}$1"; + own_msg_channel = "{ownmsgnick $3 {ownnick $[-8]0}{msgchannel $1}}$2"; + own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-8]2}}$1"; - pubmsg_me = "{pubmsghinick $2 {menick $[-11]0}}$1"; - pubmsg_me_channel = "{pubmsghinick $3 {menick $[-11]0}{msgchannel $1}}$2"; + pubmsg_me = "{pubmsghinick $2 {menick $[-8]0}}$1"; + pubmsg_me_channel = "{pubmsghinick $3 {menick $[-8]0}{msgchannel $1}}$2"; - pubmsg_hilight = "{pubmsghinick $3 {menick $[-11]1}}$2"; - pubmsg_hilight_channel = "{pubmsghinick $0 $[-11]1$4{msgchannel $2}}$3"; + pubmsg_hilight = "{pubmsghinick $3 {menick $[-8]1}}$2"; + pubmsg_hilight_channel = "{pubmsghinick $0 $[-8]1$4{msgchannel $2}}$3"; - pubmsg_channel = "{pubmsgnick {pubnick %G$[-11]0}$2}$1"; - msg_private_query = "{privmsgnick $[-11]0}$2"; + pubmsg_channel = "{pubmsgnick {pubnick %G$[-8]0}$2}$1"; + msg_private_query = "{privmsgnick $[-8]0}$2"; new_topic = " %ctopic %K= %|%B'$2' %non %b$1%n%K[set by {nick %y$0}]"; - endofnames = "%Y!%K! names %Y!%m Total: {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal%n"; + endofnames = " %y└────%Y──%K──%y─────%K─ ─ ─ ─ %y───── "; + }; # }}} "fe-common/irc" = { # {{{ - chanmode_change = "%Y!%K! mode %y!%n {channick $1}"; - server_chanmode_change = "%Y!%K! mode %y!%n {channick $1}"; + chanmode_change = "%Y!%K! mode %y│%n {channick $1}"; + server_chanmode_change = "%Y!%K! mode %y│%n {channick $1}"; - own_action = "{ownaction $[-11]0} $1"; - action_private = "{pvtaction $[-11]0}$1"; - action_private_query = "{pvtaction_query $[-11]0} $2"; - action_public = "{pubaction $[-11]0}$1"; + own_action = "{ownaction $[-8]0} $1"; + action_private = "{pvtaction $[-8]0}$1"; + action_private_query = "{pvtaction_query $[-8]0} $2"; + action_public = "{pubaction $[-8]0}$1"; }; # }}} }; # }}} diff --git a/screenrc b/screenrc @@ -43,7 +43,7 @@ bind S split bind o only bind r remove -bind R eval "source ~/.screenrc" "echo '.screenrc reloaded !'" +bind R eval "source /home/z3bra/.screenrc" "echo '.screenrc reloaded !'" # Remove some stupid / dangerous key bindings bind ^k @@ -76,7 +76,6 @@ bind _ resize max bind w focus next bind s split -bind v split -v bind : colon # screen's default anyway... @@ -93,8 +92,8 @@ termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007 altscreen on # always display the last line status bar -caption always -hardstatus alwayslastline +caption never +hardstatus alwayslastline # set these terminals up to be 'optimal' instead of vt100 termcapinfo xterm*|linux*|rxvt* OP @@ -112,5 +111,5 @@ defnonblock 5 # Bars -caption string "%{= Kw}%?%F%{=b cW}%? %f*%t %=%?%F.: current :.%? %= .:%F%n %t " -hardstatus string "%{= K}///%{w}//%{W}/%{dd} %{=b W}$LOGNAME%{-b w}@%{+b W}%H %= %{-b c} %-Lw%?%F%{=b W}[%2n* %t ]%?%{-b c}%+Lw %{dd} %= %{=b w} .: %D%d :: %c:%s :. %-10=" +caption string "%{= Kw}%?%F%{=b cW}%? %f*%t %=%?%F.: current :.%? %= .:%F%n %t " +hardstatus string "%{b k} %= %{=b K} %-Lw%?%F%{=b W}%n* %t%?%{=b K}%+Lw %= %{=b Y} %d-%m %{=b w}%c %-10=" diff --git a/vim/colors/dust.vim b/vim/colors/dust.vim @@ -0,0 +1,55 @@ +" +" Terminal setup. +" +set background=dark +if version > 580 + highlight clear + if exists("g:syntax_on") + syntax reset + endif +endif +let g:colors_name="sandstorm" + +" +" Highlighting definitions. +" + + " + " Actual colours and styles. + " + highlight Comment term=NONE cterm=bold ctermfg=0 ctermbg=NONE + highlight Constant term=NONE cterm=bold ctermfg=3 ctermbg=NONE + highlight Cursor term=NONE cterm=bold ctermfg=3 ctermbg=0 + highlight CursorLine term=NONE cterm=NONE ctermfg=0 ctermbg=7 + highlight DiffAdd term=NONE cterm=bold ctermfg=NONE ctermbg=2 + highlight DiffChange term=NONE cterm=bold ctermfg=NONE ctermbg=4 + highlight DiffDelete term=NONE cterm=bold ctermfg=NONE ctermbg=1 + highlight Folded term=NONE cterm=bold ctermfg=0 ctermbg=0 + highlight Function term=NONE cterm=bold ctermfg=7 ctermbg=NONE + highlight Identifier term=NONE cterm=bold ctermfg=3 ctermbg=NONE + highlight IncSearch term=NONE cterm=NONE ctermfg=0 ctermbg=3 + highlight NonText term=NONE cterm=bold ctermfg=0 ctermbg=NONE + highlight Normal term=NONE cterm=NONE ctermfg=7 ctermbg=NONE + highlight Pmenu term=NONE cterm=NONE ctermfg=0 ctermbg=7 + highlight PreProc term=NONE cterm=NONE ctermfg=1 ctermbg=0 + highlight Search term=NONE cterm=bold ctermfg=0 ctermbg=3 + highlight Special term=NONE cterm=NONE ctermfg=1 ctermbg=NONE + highlight SpecialKey term=NONE cterm=bold ctermfg=1 ctermbg=NONE + highlight Statement term=NONE cterm=bold ctermfg=3 ctermbg=NONE + highlight StatusLine term=NONE cterm=NONE ctermfg=7 ctermbg=237 + highlight StatusLineNC term=NONE cterm=NONE ctermfg=0 ctermbg=237 + highlight String term=NONE cterm=bold ctermfg=1 ctermbg=NONE + highlight Todo term=NONE cterm=NONE ctermfg=3 ctermbg=7 + highlight Type term=NONE cterm=NONE ctermfg=3 ctermbg=NONE + highlight VertSplit term=NONE cterm=bold ctermfg=0 ctermbg=0 + highlight Visual term=NONE cterm=bold ctermfg=7 ctermbg=3 + + " + " General highlighting group links. + " + highlight! link Title Normal + highlight! link LineNr NonText + highlight! link TabLine StatusLineNC + highlight! link TabLineFill StatusLineNC + highlight! link TabLineSel StatusLine + highlight! link VimHiGroup VimGroup diff --git a/vim/colors/sandstorm.vim b/vim/colors/sandstorm.vim @@ -45,7 +45,7 @@ if has("gui_running") || &t_Co == 256 highlight Special term=NONE cterm=NONE ctermfg=222 ctermbg=NONE highlight SpecialKey term=NONE cterm=NONE ctermfg=184 ctermbg=NONE highlight Statement term=NONE cterm=NONE ctermfg=11 ctermbg=NONE - highlight StatusLine term=NONE cterm=NONE ctermfg=7 ctermbg=237 + highlight StatusLine term=NONE cterm=NONE ctermfg=7 ctermbg=NONE highlight StatusLineNC term=NONE cterm=NONE ctermfg=0 ctermbg=237 highlight String term=NONE cterm=NONE ctermfg=166 ctermbg=NONE highlight Todo term=NONE cterm=NONE ctermfg=196 ctermbg=226 diff --git a/vim/colors/shadow.vim b/vim/colors/shadow.vim @@ -13,7 +13,7 @@ let colors_name = "shadow" " Window elements hi Cursor ctermfg=7 ctermbg=0 cterm=bold - hi CursorLine ctermfg=0 ctermbg=7 cterm=none + hi CursorLine ctermfg=15 ctermbg=NONE cterm=underline hi Folded ctermfg=0 ctermbg=0 cterm=bold hi LineNr ctermfg=7 hi NonText ctermfg=7 diff --git a/vimrc b/vimrc @@ -107,7 +107,11 @@ syntax on " set t_Co=256 " Theme & colors -colorscheme sandstorm +if &t_Co == 256 + colorscheme sandstorm +else + colorscheme dust +endif " Improve color for dark bkgd (set by the theme) " set background=light @@ -225,7 +229,7 @@ set statusline= set ruler " put everything I need in the ruler -set rulerformat=%-64(%=%M%H%R\ %f\ (%n)%<%4(%)%Y:%{&tw}%9(%l,%c%V%)%4(%)%P%) +set rulerformat=%-50(%=%M%H%R\ %t\ (%{&enc})%<%4(%)%Y:%{&tw}%9(%l,%c%V%)%4(%)%P%) set list set listchars=tab:\|\ ,trail:⋅,nbsp:˽ diff --git a/xinitrc b/xinitrc @@ -26,8 +26,9 @@ function wm() { # 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 -t-5 -l-5 -r4.2 -o.4 + #compton -cCb -r16 -t-22 -l-22 -o.8 + compton -cCb -o0 # spawn window manager exec $1