dextra

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

commit e6498d61a4e85e8407c9f52822d3ef1654da9365
parent 709450d9d182abb708f1d562053819308aba815a
Author: arg@suckless.org <unknown>
Date:   Sun, 25 Nov 2007 12:00:34 +0100

added style by antony jepson
Diffstat:
antony/Xdefaults | 83+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
antony/config.h | 102+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
antony/mutt.colours | 22++++++++++++++++++++++
antony/screenrc | 21+++++++++++++++++++++
antony/vimrc | 21+++++++++++++++++++++
antony/xinitrc | 15+++++++++++++++
6 files changed, 264 insertions(+), 0 deletions(-)

diff --git a/antony/Xdefaults b/antony/Xdefaults @@ -0,0 +1,83 @@ +xterm*background: black +xterm*foreground: white +xterm*savesLines: 10000 +xterm*font:-misc-fixed-*-*-*-*-20-*-*-*-*-*-*-* +!xterm*faceName:xft:Liberation Mono:pixelsize=20 +Rxvt.background:#111111 +Rxvt.foreground:#7f7f7f +Rxvt.geometry:80x23 +Rxvt.jumpScroll:True +Rxvt.saveLines:5000 +Rxvt.scrollBar:False +URxvt*matcher.button:1 +URxvt*secondaryScroll:true +URxvt*urlLauncher:firefox +URxvt.font:-xos4-terminus-medium-r-normal-*-*-200-*-*-*-*-*-* +URxvt.boldFont:-xos4-terminus-bold-r-normal-*-*-200-*-*-*-*-*-* +!URxvt.font:xft:Liberation Mono:pixelsize=10 +URxvt.inheritPixmap: False +URxvt.perl-ext-common: matcher,default +URxvt.perl-ext: searchable-scrollback<M-s> +URxvt.scrollstyle: plain + +! low intensity / high intensity black +urxvt*color0: #000000 +urxvt*color8: #333333 +! low intensity / high intensity red +urxvt*color1: #ff0000 +urxvt*color9: #ff6666 +! low intensity / high intensity green +urxvt*color2: #00ff00 +urxvt*color10: #66ff66 +! low intensity / high intensity yellow +urxvt*color3: #ffff00 +urxvt*color11: #ffff66 +! low intensity / high intensity blue +urxvt*color4: #0033cc +urxvt*color12: #0066cc +! low intensity / high intensity magenta +urxvt*color5: #ff00ff +urxvt*color13: #ff66ff +! low intensity / high intensity orange (default cyan) +urxvt*color6: #cc6600 +urxvt*color14: #ffcc99 +!urxvt*color6: #00ffff +!urxvt*color14: #66ffff + +! low intensity / high intensity white +urxvt*color7: #cccccc +urxvt*color15: #ffffff + + +!urxvt*color0: #000000 +!urxvt*color1: #9e1828 +!urxvt*color2: #aece92 +!urxvt*color3: #968a38 +!urxvt*color4: #414171 +!urxvt*color5: #963c59 +!urxvt*color6: #418179 +!urxvt*color7: #bebebe +!urxvt*color8: #666666 +!urxvt*color9: #cf6171 +!urxvt*color10: #c5f779 +!urxvt*color11: #fff796 +!urxvt*color12: #4186be +!urxvt*color13: #cf9ebe +!urxvt*color14: #71bebe +!urxvt*color15: #ffffff +xterm*color0: #000000 +xterm*color1: #9e1828 +xterm*color2: #aece92 +xterm*color3: #968a38 +xterm*color4: #414171 +xterm*color5: #963c59 +xterm*color6: #418179 +xterm*color7: #bebebe +xterm*color8: #666666 +xterm*color9: #cf6171 +xterm*color10: #c5f779 +xterm*color11: #fff796 +xterm*color12: #4186be +xterm*color13: #cf9ebe +xterm*color14: #71bebe +xterm*color15: #ffffff diff --git a/antony/config.h b/antony/config.h @@ -0,0 +1,102 @@ +/* See LICENSE file for copyright and license details. */ + +/* appearance */ +#define BARPOS BarTop /* BarBot, BarOff */ +#define BORDERPX 2 +#define FONT "-*-terminus-medium-r-*-*-*-200-*-*-*-*-*-*" +#define NORMBORDERCOLOR "#99ccff" +#define NORMBGCOLOR "#0066cc" /* | -**- | --------- | -**- | */ +#define NORMFGCOLOR "#f0f0f0" /* | -**- | --------- | -**- | */ +#define SELBORDERCOLOR "#ffcc99" +#define SELBGCOLOR "#cc6600" /* | ---- | ----*---- | ---- | */ +#define SELFGCOLOR "#f0f0f0" /* | ---- | ----*---- | ---- | */ + +/* 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 */ + { "Firefox", "1", False }, + { "Pidgin", "2", True }, + { "Amarok", "3", False }, + { "Sonata", "3", True }, + { "Mplayer", "4", True }, + { "VLC media player", "4", True }, + { "Inkscape", "5", True }, + { "Gimp", "6", True }, + { "OpenOffice.org", "7", False }, + { "Scribus", "7", True }, + { "Gvim", "7", True } +}; + +/* layout(s) */ +Layout layouts[] = { + /* symbol function */ + { "[]=", tile }, /* first entry is default */ + { "><>", floating }, +}; +#define RESIZEHINTS False /* False - respect size hints in tiled resizals */ +#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ +#define SNAP 32 /* snap pixel */ + + +/* key definitions */ +#define MODKEY Mod1Mask +Key keys[] = { + /* modifier key function argument */ + { MODKEY, XK_p, spawn, + "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" + " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, + { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvtc" }, + { 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/antony/mutt.colours b/antony/mutt.colours @@ -0,0 +1,22 @@ +# custom colour scheme +color hdrdefault brightcyan blue +color header brightwhite blue "^from:" +color header brightwhite blue "^subject:" +color quoted brightgreen blue +color signature brightwhite blue +color indicator blue green +color error red black +mono error bold +color status black cyan +mono status bold +color tree yellow blue +color tilde brightmagenta blue +color body brightwhite blue "[-a-z_0-9.]+@[-a-z_0-9.]+" +mono body bold "[-a-z_0-9.]+@[-a-z_0-9.]+" +color body brightyellow black "^Good signature" +mono body bold "^Good signature" +color body brightwhite red "^Bad signature from.*" +mono body bold "^Bad signature from.*" +color normal white blue +color message green black +color attachment brightgreen blue diff --git a/antony/screenrc b/antony/screenrc @@ -0,0 +1,21 @@ +# =-=-=-=-=-=-=-= +# Startup Options +# =-=-=-=-=-=-=-= + +vbell off +startup_message off +defscrollback 5000 +#caption always "%{+b}%{=bM}%-Lw%>%t%<%+Lw%= %{kG}%c %D, %M/%d/%Y" +caption always "%{+b}%{= Bw}%-Lw%{= cw}%50>%n-%f %t%{-}%+Lw%< %{= Bw}%= %c %D, %M/%d/%Y" + + + +# =-=-=-=-=-=-= +# Key Bindings +# =-=-=-=-=-=-= + +# =-=-=-=-=-=-=-=-= +# Startup Programs +# =-=-=-=-=-=-=-=-= + +screen -t zsh 0 zsh diff --git a/antony/vimrc b/antony/vimrc @@ -0,0 +1,21 @@ +set nocompatible +set ruler +set number +set showmatch +set novb +set incsearch +set history=50 +set showmode +set showcmd +filetype plugin indent on +autocmd FileType text setlocal textwidth=78 formatoptions+=t infercase +set fileencoding=utf-8 +set mouse=v +set tabstop=8 +set shiftwidth=2 +set expandtab +set smarttab autoindent +set nohlsearch + +autocmd Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim + diff --git a/antony/xinitrc b/antony/xinitrc @@ -0,0 +1,15 @@ +#!/bin/sh + +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) +# + +# exec startkde +# exec startxfce4 +# exec icewm +# exec blackbox +# exec fluxbox +exec dbus-launch --auto-syntax --exit-with-session /usr/local/bin/dwmstartup +# exec dbus-launch --auto-syntax --exit-with-session /opt/plan9/bin/rio