[Xmonad] Popup status bar support

Robert Manea rob.manea at googlemail.com
Sun May 27 16:14:31 EDT 2007


* Joe Thornber (joe.thornber at gmail.com) wrote:
> On 27/05/07, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
> http://www.cse.unsw.edu.au/~dons/code/xmonad-web/images/screen-rob-status-spiral.png
> 
> This is a really nice setup.  

Thanks :).

> Which editor is that ?  I presume it's

It's vim.

> running in a 256 colour xterm ?  If so would it be possible to give me

It's running in rxvt-unicode (urxvt) with the Zsh.

> the colour config please ?

Sure, no problem. Here it comes:


--[ Go ]


---[ .Xdefaults ]

!! Greenish theme
urxvt*color0:       #000000 
urxvt*color8:       #666666 
urxvt*color1:       #b45151 
urxvt*color9:       #fe8686 
urxvt*color2:       #aece92 
urxvt*color10:      #97fa97 
urxvt*color3:       Khaki3 
urxvt*color11:      #efe58b 
urxvt*color4:       #2797d8 
urxvt*color12:      #86cdea 
urxvt*color5:       #aa6eaf 
urxvt*color13:      #cb96ce 
urxvt*color6:       #418179 
urxvt*color14:      #71bebe 
urxvt*color7:       #bebebe 
urxvt*color15:      #ffffff



---[ urxvt commandline ]

urxvt -is +sb -fg '#5FBF77' -bg '#323232' -fn 'xft:DejaVu Sans Mono:pixelsize=11:antialias=false:autohinting=true' "$@"




---[ .vimrc ]

" ~/.vimrc - (c) 1996-2007 by Robert Manea 

" General settings
set nocp
set digraph ek hidden ruler sc vb wmnu
set noeb noet nosol
set bs=2 fo=cqrt ls=2 shm=at tw=72 ww=<,>,h,l
set viminfo=%,'50,\"100,:100,n~/.viminfo
syn on sync fromstart 
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
set statusline=%<%f\ %y[%{&ff}]%m%r%w%a\ %=%l/%L,%c%V\ %P
set lcs=eol:·,tab:>-,trail:·,extends:>,precedes:<
set cmdheight=2
set showmode
set showcmd
set showmatch
set visualbell
filetype plugin indent on
set grepprg=grep\ -nH\ $*

"set background=light
set background=dark
set cursorline

"Modelines
set modeline modelines=2

"------------------------------------------------------------------------
" Autocommands

" vim -b : edit binary using xxd-format!
"
" *** USE bvi instead!
"
"augroup Binary
"  au!
"  au BufReadPre  *.bin let &bin=1
"  au BufReadPost *.bin if &bin | %!xxd
"  au BufReadPost *.bin set ft=xxd | endif
"  au BufWritePre *.bin if &bin | %!xxd -r
"  au BufWritePre *.bin endif
"  au BufWritePost *.bin if &bin | %!xxd
"  au BufWritePost *.bin set nomod | endif
"augroup END


" C and C++ prefs.
augroup C-Files
  au!
  au BufNewFile,BufRead *.c,*.C,*.cc set cindent number
  au BufNewFile *.c 0r ~/.vim/skeleton/skel.c
  au FileType cpp,c,h set foldenable foldmethod=syntax
  au FileType cpp,c,h set comments=sl:/*,mb:**,elx:*
  au FileType cpp,c,h set foldcolumn=2
  au FileType cpp,c,h set shiftwidth=4
  "au FileType cpp,c,h syn region Block start="{" end="}" transparent fold
  " Abbreviations
  ab #d #define
  ab #i #include<
augroup END

" Turbo Assembler
" augroup Assembler
"   au BufNewFile,BufRead *.asm,*.ASM set smartindent number
"   au BufNewFile *.asm,*.ASM 0r ~/.vim/skeleton/skel.asm
"   "au Syntax asm source $VIMRUNTIME/syntax/tasm.vim
" augroup END

" Latex prefs.
augroup Tex-Files
  au!
  au BufNewFile,BufRead *.tex set tabstop=4 smartindent
  au BufNewFile *.tex 0r ~/.vim/skeleton/skel.tex
  au FileType tex ia fr \dst\frac
  au Filetype tex ia fb \fboxsep=.2in \framebox{
augroup END

" Mail and News
augroup Messages
  au!
  au BufRead mutt*[0-9],snd.*,.letter,.followup,.article,.article[0-9] set tw=72 formatoptions=2tcq comments=n:>,n::,n:#,n:% digraph 
augroup END

" Perl
augroup Perl
    au!
    au BufNewFile,BufRead *.pl,*.pm set smartindent number
augroup END

" ------------------------------------------------------------------------
" Mappings

map <F3> :set paste! <Bar> set paste?<CR>
imap <F3> <ESC> :set paste!<CR>i

map <F4> :set number! <Bar> set number?<CR>
imap <F4> <ESC>:set number!<CR>i

map <F7> :set list! <bar> set list?<CR>
imap <F7> <ESC>:set list!<CR>i

map <F11> :set hlsearch! <Bar> set hlsearch?<CR>

vmap üx s,----[]<CR>`----<ESC>Pv`]:s/^/\| /<CR>'[k$i

--[ End ]


Greets, Rob.


More information about the Xmonad mailing list