dextra

dynamic window manager extra repository, themes, styles, dotfiles
git clone git://git.suckless.org/dextra
Log | Files | Refs | LICENSE

commit 709450d9d182abb708f1d562053819308aba815a
parent 0f4696edad4ea533dfdad2273183bcf838a04397
Author: arg@suckless.org <unknown>
Date:   Sat, 24 Nov 2007 14:47:07 +0100

added dolby by Grigorios
Diffstat:
LICENSE | 1+
dolby/Xdefaults | 90+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dolby/cmus.theme | 23+++++++++++++++++++++++
dolby/config.h | 91+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dolby/mutt.colors | 13+++++++++++++
dolby/screenrc | 35+++++++++++++++++++++++++++++++++++
dolby/vimrc | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dolby/xinitrc | 9+++++++++
8 files changed, 322 insertions(+), 0 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -5,6 +5,7 @@ MIT/X Consortium License © 2007 Markus Schnalke <meillo@marmaro.de> © 2007 Jeremy O'Brien <obrien654j@gmail.com> © 2007 Alexander Polakov <polachok@gmail.com> +© 2007 Grigorios Bouzakis <grbzks@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/dolby/Xdefaults b/dolby/Xdefaults @@ -0,0 +1,90 @@ +!colors +*foreground: #d3d3d3 +*background: #000000 +*cursorColor: orange +*color0: #151515 +*color8: #505450 +*color1: #bf7979 +*color9: #f4a45f +*color2: #97b26b +*color10: #c5f779 +*color3: #cdcda1 +*color11: #ffffaf +*color4: #4a5463 +*color12: #7d8794 +*color5: #9c3885 +*color13: #e628ba +*color6: #88aadd +*color14: #99ccff +*color7: #ffffff +*color15: #dedede + +!urxvt settings +urxvt*geometry: 107x33 +urxvt*saveLines: 32767 +urxvt*scrollTtyKeypress:true +urxvt*scrollTtyOutput: false +urxvt*scrollBar: false +urxvt*secondaryscroll: true +urxvt*loginShell: true +urxvt*internalBorder: 0 +urxvt*termName: rxvt-unicode +urxvt*inheritPixmap: true +urxvt*shading: 75 +urxvt*tintColor: #252525 +urxvt*font: xft:Terminus:pixelsize=14 +urxvt*cutchars: "()*,<>[]{}|' +urxvt*print-pipe: cat > $(echo urxvt.dump.`date +'%Y%M%d%H%m%S'`) +urxvt*secondaryScroll: true +urxvt*mapAlert: true +urxvt*utmpInhibit: true +urxvt.perl-lib: /usr/lib/urxvt/perl +urxvt*perl-ext-common: matcher,searchable-scrollback +urxvt*matcher.button: 1 +urxvt*urlLauncher: firefox +urxvt*keysym.S-Prior: ^[[5;2~ +urxvt*keysym.S-Next: ^[[6;2~ + +!xterm colors +xterm*foreground: #d3d3d3 +xterm*background: #000000 +xterm*cursorColor: orange +xterm*color0: #151515 +xterm*color8: #505450 +xterm*color1: #bf7979 +xterm*color9: #f4a45f +xterm*color2: #97b26b +xterm*color10: #c5f779 +xterm*color3: #cdcda1 +xterm*color11: #ffffaf +xterm*color4: #4a5463 +xterm*color12: #7d8794 +xterm*color5: #9c3885 +xterm*color13: #e628ba +xterm*color6: #88aadd +xterm*color14: #99ccff +xterm*color7: #ffffff +xterm*color15: #dedede + + +!xterm settings +xterm*geometry: 107x33 +xterm*dynamicColors: true +xterm*utf8: 2 +xterm*eightBitInput: true +!xterm*saveLines: 32767 ! uses shitloads of mem +xterm*scrollTtyKeypress:true +xterm*scrollTtyOutput: false +xterm*scrollBar: false +xterm*loginShell: true +xterm*faceName: Terminus:pixelsize=14 +xterm*jumpScroll: true +xterm*multiScroll: true +xterm*toolBar: false +xterm*charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48 + +Xcursor*theme: Neutral + +Xft*dpi: 96 +Xft*antialias: true +Xft*hinting: full diff --git a/dolby/cmus.theme b/dolby/cmus.theme @@ -0,0 +1,23 @@ +set color_cmdline_bg=default +set color_cmdline_fg=gray +set color_error=red +set color_info=green +set color_separator=lightcyan +set color_statusline_bg=black +set color_statusline_fg=cyan +set color_titleline_bg=black +set color_titleline_fg=cyan +set color_win_bg=default +set color_win_cur=lightgreen +set color_win_cur_sel_bg=black +set color_win_cur_sel_fg=gray +set color_win_dir=blue +set color_win_fg=cyan +set color_win_inactive_cur_sel_bg=black +set color_win_inactive_cur_sel_fg=cyan +set color_win_inactive_sel_bg=black +set color_win_inactive_sel_fg=cyan +set color_win_sel_bg=black +set color_win_sel_fg=cyan +set color_win_title_bg=black +set color_win_title_fg=cyan diff --git a/dolby/config.h b/dolby/config.h @@ -0,0 +1,91 @@ +/* See LICENSE file for copyright and license details. */ + +/* appearance */ +#define BARPOS BarTop /* BarBot, BarOff */ +#define BORDERPX 0 +#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-*-*" +#define NORMBORDERCOLOR "#262626" +#define NORMBGCOLOR "#151515" +#define NORMFGCOLOR "#BEBEBE" +#define SELBORDERCOLOR "#303030" +#define SELBGCOLOR "#202020" +#define SELFGCOLOR "#88AADD" + +/* tagging */ +const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +Bool seltags[LENGTH(tags)] = {[0] = True}; +Rule rules[] = { + /* class:instance:title regex tags regex isfloating */ + { "Gimp", NULL, True }, + { "MPlayer", NULL, True }, +}; + +/* layout(s) */ +#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ +#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ +#define SNAP 32 /* snap pixel */ +Layout layouts[] = { + /* symbol function */ + { "[]=", tile }, /* first entry is default */ + { "><>", floating }, +}; + +/* key definitions */ +#define MODKEY Mod4Mask +Key keys[] = { + /* modifier key function argument */ + { MODKEY, XK_p, spawn, + "exe=`dmenu_path | dmenu -b -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" + " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && eval exec $exe" }, + { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, + { MODKEY, XK_space, setlayout, NULL }, + { MODKEY, XK_b, togglebar, NULL }, + { MODKEY, XK_j, focusnext, NULL }, + { MODKEY, XK_k, focusprev, NULL }, + { MODKEY, XK_h, setmwfact, "-0.05" }, + { MODKEY, XK_l, setmwfact, "+0.05" }, + { MODKEY, XK_m, togglemax, NULL }, + { MODKEY, XK_Return, zoom, NULL }, + { MODKEY, XK_Tab, viewprevtag, NULL }, + { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, + { MODKEY|ShiftMask, XK_c, killclient, NULL }, + { MODKEY, XK_0, view, NULL }, + { MODKEY, XK_1, view, tags[0] }, + { MODKEY, XK_2, view, tags[1] }, + { MODKEY, XK_3, view, tags[2] }, + { MODKEY, XK_4, view, tags[3] }, + { MODKEY, XK_5, view, tags[4] }, + { MODKEY, XK_6, view, tags[5] }, + { MODKEY, XK_7, view, tags[6] }, + { MODKEY, XK_8, view, tags[7] }, + { MODKEY, XK_9, view, tags[8] }, + { MODKEY|ControlMask, XK_1, toggleview, tags[0] }, + { MODKEY|ControlMask, XK_2, toggleview, tags[1] }, + { MODKEY|ControlMask, XK_3, toggleview, tags[2] }, + { MODKEY|ControlMask, XK_4, toggleview, tags[3] }, + { MODKEY|ControlMask, XK_5, toggleview, tags[4] }, + { MODKEY|ControlMask, XK_6, toggleview, tags[5] }, + { MODKEY|ControlMask, XK_7, toggleview, tags[6] }, + { MODKEY|ControlMask, XK_8, toggleview, tags[7] }, + { MODKEY|ControlMask, XK_9, toggleview, tags[8] }, + { MODKEY|ShiftMask, XK_0, tag, NULL }, + { MODKEY|ShiftMask, XK_1, tag, tags[0] }, + { MODKEY|ShiftMask, XK_2, tag, tags[1] }, + { MODKEY|ShiftMask, XK_3, tag, tags[2] }, + { MODKEY|ShiftMask, XK_4, tag, tags[3] }, + { MODKEY|ShiftMask, XK_5, tag, tags[4] }, + { MODKEY|ShiftMask, XK_6, tag, tags[5] }, + { MODKEY|ShiftMask, XK_7, tag, tags[6] }, + { MODKEY|ShiftMask, XK_8, tag, tags[7] }, + { MODKEY|ShiftMask, XK_9, tag, tags[8] }, + { MODKEY|ControlMask|ShiftMask, XK_1, toggletag, tags[0] }, + { MODKEY|ControlMask|ShiftMask, XK_2, toggletag, tags[1] }, + { MODKEY|ControlMask|ShiftMask, XK_3, toggletag, tags[2] }, + { MODKEY|ControlMask|ShiftMask, XK_4, toggletag, tags[3] }, + { MODKEY|ControlMask|ShiftMask, XK_5, toggletag, tags[4] }, + { MODKEY|ControlMask|ShiftMask, XK_6, toggletag, tags[5] }, + { MODKEY|ControlMask|ShiftMask, XK_7, toggletag, tags[6] }, + { MODKEY|ControlMask|ShiftMask, XK_8, toggletag, tags[7] }, + { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, + { MODKEY|ShiftMask, XK_q, quit, NULL }, +}; diff --git a/dolby/mutt.colors b/dolby/mutt.colors @@ -0,0 +1,13 @@ +color attachment yellow default +color error red default +color hdrdefault cyan default +color indicator brightyellow default +color markers brightcyan default +color message brightcyan default +color normal white default +color quoted brightblue default +color search default default +color signature red default +color status cyan default +color tilde magenta default +color tree cyan default diff --git a/dolby/screenrc b/dolby/screenrc @@ -0,0 +1,35 @@ + +vbell off +nethack on +deflogin on +# clear screen from vim/nano contents +altscreen on +# detach on hangup +autodetach on +# disable startup msg +startup_message off +# lines scrollback (default=100) +defscrollback 1000 +# only Shift+k to kill - prevent accidents +bind k +bind ^k +bind K kill +#Replace C-a with ` (backtick) +escape `` + +term screen-256color +termcapinfo rxvt-unicode ti@:te@ + +caption splitonly "%{ck}%t" +#caption splitonly "%{ck}%t %=%{c}%D %{W}%d %{c}%M %{W}%c" +#hardstatus alwayslastline '%{= kw}%-Lw%{c}[%{+b W}%n %t%{-b c}]%{w}%+Lw%=%{c}[%D%{w}, %{W}%d %{c}%M %{W}%c%{c}]' +#hardstatus alwayslastline "%{= kc}$USER%{w}@%{c}%H %=%{c}%D %{W}%d %{c}%M %{W}%c" +#caption always "%{= kc}$USER%{W}@%{c}%H %=%{c}%D %{W}%d %{c}%M %{W}%c" +sorendition ck + +screen -t irc 0 irssi +screen -t music 1 cmus +screen -t torrent 2 rtorrent +screen -t rss 3 snownews +screen -t mail 4 mutt +select 0 diff --git a/dolby/vimrc b/dolby/vimrc @@ -0,0 +1,60 @@ +"""""""""""""""""""""""""" +" Colorscheme selection " +"""""""""""""""""""""""""" + +colorscheme rdark + +""""""""""""""" +" GUI options " +""""""""""""""" + +set guioptions-=L +set guioptions-=l +set guioptions-=r +set guioptions-=R +set guioptions-=T +set guifont=DejaVu\ Sans\ Mono\ 9 + + +"""""""""""" +" Settings " +"""""""""""" + +set nocompatible " use Vim settings, rather then vi settings +set mouse=a " enable the mouse +set ttymouse=xterm " name of the terminal type for which mouse codes are to be recognized +set termencoding=utf-8 " set encoding +set encoding=utf-8 " set encoding used for the terminal +set cmdheight=1 " number of screen lines to use for the command line +set cursorline " use a cursor line +set laststatus=2 " status line format +set statusline=%-3.3n\ %f\ %h%m%r%w[%{strlen(&filetype)?&filetype:'?'},%{&encoding},%{&fileformat}]%=\ 0x%-8B\ \ %-14.(%l,%c%V%)\ %<%P +set history=50 " keep 50 lines of command line history +set number " turn on line numbers +set nobackup " don't make a backup before overwriting a file + +set nohlsearch " when there is a previous search pattern, highlight all its matches +set ignorecase " ignore case in search patterns +set incsearch " while typing a search command, show where the pattern, as it was typed so far, matches +set gdefault " ":substitute" flag 'g' is on. all matches in a line are substituted instead of one +set showmatch " when a bracket is inserted, briefly jump to the matching one + +filetype indent plugin on " enable filetype detection + +""""""""""""""""" +" Abbreviations " +""""""""""""""""" + +iab sign mail signature "TO DO + +"""""""""""""""" +" Keymappings " +"""""""""""""""" + + + +""""""""""""""""""""""" +" Syntax hilighting " +""""""""""""""""""""""" + +syntax on " enable syntax highlighting diff --git a/dolby/xinitrc b/dolby/xinitrc @@ -0,0 +1,9 @@ +#!/bin/sh +#xsetroot -bg black & +#eval `cat ~/.fehbg` & +exec autocutsel & +#urxvtd -q -f -o & +while true; do +echo $(date '+%a %d %B %R') +sleep 1 +done | ~/dwm/dwm