commit 777eb7be919dbbac0a9662e2903b43d07bef6eb0
parent 723741be9a79ab0fc4210d45e0af26b8a7a96bb7
Author: arg@suckless.org <unknown>
Date: Sat, 24 Nov 2007 11:44:14 +0100
added new dextra contributions by jobrien, meillo and polachok
Diffstat:
19 files changed, 1544 insertions(+), 0 deletions(-)
diff --git a/jobrien/Xdefaults b/jobrien/Xdefaults
@@ -0,0 +1,211 @@
+#*foreground: #bbbbbb
+*foreground: #ffffff
+*background: #111111
+
+!yeahconsole
+yeahconsole*term: urxvt
+yeahconsole*consoleHeight: 35
+!yeahconsole*toggleKey: Mod1+grave
+yeahconsole*stepSize: 40
+yeahconsole*restart: 1
+
+!Configuracion XTERM
+XTerm*boldMode:false
+XTerm*boldColors:false
+XTerm*colorBD: MediumBlue
+!Xterm*colorBDMode: True
+XTerm*loginShell: True
+!xterm*foreground: #ff5a0f
+!xterm*foreground: #dcdcdc
+XTerm*foreground: #929092
+XTerm*background: #000000
+!xterm*background: #202020 //grey
+XTerm*shading: 50
+!xterm*font: fixed-12
+XTerm*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
+XTerm*scrollBar: false
+xTerm*saveLines: 2000
+XTerm*jumpScroll: true
+XTerm*multiScroll: true
+XTerm*scrollTtyOutput: false
+XTerm*scrollKey: true
+XTerm*eightBitInput: true
+XTerm*metaSendsEscape: false
+
+!Configuracion ATERM
+Aterm*foreground: #929092
+Aterm*background: #000000
+!aterm*shading: 80
+Aterm*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
+Aterm*boldFont: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
+!aterm*transparent: false
+!aterm*scrollBar: false
+!aterm*visualBell: false
+!aterm*saveLines: 1000
+Aterm*transparent: false
+!Aterm*shading: 80
+!Aterm*cursorColor: #d8d8d8
+Aterm*scrollbars: false
+Aterm*saveLines: 2000
+!Aterm*tinting: gray
+Aterm*scrollBar: false
+!Aterm*scrollBar_right: true
+Aterm*transpscrollbar: true
+Aterm*borderwidth: 0
+Aterm*geometry: 80x25
+Aterm*fading: 70
+
+!normal colors
+Aterm*color0: #000000
+!Aterm*color1: #D73C3C
+!Aterm*color2: #1BC91B
+!Aterm*color3: #CCCC66
+!Aterm*color4: #5298D2
+!Aterm*color5: #DFB68F
+!Aterm*color6: #20EDED
+!Aterm*color7: #E9E9E9
+!Aterm*color8: #686868
+!Aterm*color9: #FF5454
+!Aterm*color10: #97fc82
+!Aterm*color11: #FFF879
+!Aterm*color12: #18C8F8
+!Aterm*color13: #EC97EF
+!Aterm*color14: #36FFFC
+Aterm*color15: #FFFFFF
+
+!Configuracion xosview
+
+xosview*borderwidth: 0
+xosview*foreground: black
+xosview*transparent: True
+xosview*background: #c6c3c6
+xosview*meterLabelColor: #555555
+xosview*usedLabelColor: #000000
+
+xosview*cpuUserColor: #666666
+xosview*cpuNiceColor: #b5aeff
+xosview*cpuSystemColor: #7ec0ee
+xosview*cpuInterruptColor: #ffe4b5
+xosview*cpuFreeColor: #f7f7f7
+xosview*cpuDecay: True
+xosview*cpuGraph: True
+xosview*cpuPriority: 2
+
+xosview*memFreeColor: #f7f7f7
+xosview*memInactiveColor: #bebebf
+xosview*memUsedColor: #bebebe
+xosview*memBufferColor: #a80e0e
+xosview*memCacheColor: #67696b
+xosview*memSharedColor: #42506e
+xosview*memTextColor: #42506e
+xosview*memOtherColor: #42506e
+xosview*memActiveColor: #42506e
+
+xosview*netBackground: #f7f7f7
+xosview*netInColor: #393749
+xosview*netOutColor: #67696b
+xosview*netBandwidth: 75000
+xosview*netDecay: True
+xosview*netGraph: True
+
+xosview*swapFreeColor: #c6cbd6
+xosview*swapUsedColor: #7ec0ee
+
+xosview*diskIdleColor: #f7f7f7
+xosview*diskReadColor: #a01616
+xosview*diskWriteColor: #475864
+xosview*diskUsedColor: #666666
+xosview*diskGraph: True
+xosview*diskDecay: True
+
+xosview*loadProcColor: #c6cbd6
+xosview*loadIdleColor: #7ec0ee
+
+
+
+!Xclock
+XClock*width: 110
+XClock*height: 110
+XClock*padding: 4
+XClock*update: 5
+XClock*analog: true
+XClock*clock.update: 0
+XClock*render: true
+XClock*sharp: false
+XClock*background: white
+XClock*foreground: black
+XClock*hands: SlateGray4
+XClock*highlight: black
+XClock*hourColor: black
+XClock*minuteColor: black
+XClock*secondColor: black
+XClock*majorColor: black
+XClock*minorColor: black
+
+!urxvt
+#URxvt*font: fixed
+#URxvt*boldFont: fixed
+URxvt*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
+URxvt*boldFont: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
+URxvt*saveLines:2000
+URxvt*scrollBar: false
+URxvt*fading: 40
+URxvt*scrollTtyOutput: false
+URxvt*scrollTtyKeypress: true
+URxvt*cursorBlink: true
+URxvt*urlLauncher: "firefox"
+!! black
+urxvt*color0: #444444
+!! darkgray
+urxvt*color8: #000000
+!
+!! red
+urxvt*color1: #cc5566
+!! lightred
+urxvt*color9: #992233
+!
+!! green
+!urxvt*color2: #aece91
+urxvt*color2: #66aa44
+!! lightgreen
+!urxvt*color10: #c5f779
+urxvt*color10: #88aa88
+!
+!! yellow
+urxvt*color3: #dddd55
+!! lightyellow
+urxvt*color11: #cccc22
+!
+!! blue
+urxvt*color4: #003366
+!urxvt*color4: #9db7d0
+!! lightblue
+urxvt*color12: #4488cc
+!urxvt*color12: #3c8ec4
+!
+!! magenta
+!urxvt*color5: #963c59
+urxvt*color5: #aacc99
+!! lightmagenta
+!urxvt*color13: #cf9ebe
+urxvt*color13: #9977aa
+!
+!! cyan
+!urxvt*color6: #9fc1cc
+urxvt*color6: #88aadd
+!! lightcyan
+!urxvt*color14: #9fc1cc
+urxvt*color14: #448877
+!
+!! gray
+!urxvt*color7: #666666
+urxvt*color7: #ffffff
+!! white
+urxvt*color15: #bbbbbb
+
+!URxvt*borderLess: true
+URxvt*shading: 20
+URxvt*inheritPixmap: true
+URxvt*tintColor: white
+
+Xcursor.theme: Jimmac
diff --git a/jobrien/checkbatt.sh b/jobrien/checkbatt.sh
@@ -0,0 +1,17 @@
+#Just percent
+ACPIOUT=`acpi`
+if [[ `echo $ACPIOUT |grep discharging` ]]
+then
+ STAT="v"
+elif
+ [[ `echo $ACPIOUT |grep charging` ]]
+then
+ STAT="^"
+else
+ STAT="-"
+fi
+
+echo `echo $ACPIOUT |sed -e 's/[^,]*//' -e 's/\,\ //' | cut -d "%" -f 1`$STAT
+
+#Percent and time remaining
+#echo `acpi |sed -e 's/[^,]*//' -e 's/\,\ //' -e 's/\ until charged//' -e 's/\ remaining//' -e 's/\,\ /\./'`
diff --git a/jobrien/checkmail.sh b/jobrien/checkmail.sh
@@ -0,0 +1,24 @@
+############################################################
+# Maildir UNREAD messages
+MAIL=""
+DIRS="/home/jeremy/.maildir/*/new/ /home/jeremy/.maildir/new"
+
+for dir in ${DIRS}; do
+ licznik=0
+ for k in ${dir}/*; do
+ [[ -f ${k} ]] && ((licznik++))
+ done
+
+ if [[ ${licznik} -ne 0 ]]; then
+ dir=${dir/\/new\//}
+ dir=${dir/\/home\/jeremy\/.maildir\//}
+ MAIL="${dir}: ${licznik} ${MAIL}"
+ fi
+done
+if [[ ! -z $MAIL ]]
+then
+ echo $MAIL|sed 's/new/main/'
+else
+ echo "0 unread"
+fi
+############################################################
diff --git a/jobrien/colors.rc b/jobrien/colors.rc
@@ -0,0 +1,88 @@
+#
+# color terminals:
+# (default, white, black, green, magenta, blue, cyan, yellow, red)
+# (bright...)
+# (color1,color2,...,colorN-1)
+#
+# object foreground background
+#
+color normal white default # normal text
+color indicator white blue # actual message
+color tree blue default # thread arrows
+color status black cyan # status line
+color error brightred default # errors
+color message green default # info messages
+color signature cyan default # signature
+color attachment brightred default # MIME attachments
+color search brightyellow red # search matches
+color tilde brightmagenta default # ~ at bottom of msg
+color markers red default # + at beginning of wrapped lines
+color hdrdefault blue default # default header lines
+color bold red default # hiliting bold patterns in body
+color underline green default # hiliting underlined patterns in body
+color quoted brightyellow default # quoted text
+color quoted1 red default
+color quoted2 brightblue default
+color quoted3 green default
+color quoted4 cyan default
+color quoted5 blue default
+color quoted6 magenta default
+color quoted7 red default
+color quoted8 white default
+color quoted9 brightred default
+#
+# object foreground backg. RegExp
+#
+color header brightblue default "^date:"
+color header brightyellow default "^from:"
+color header yellow default "^subject:"
+color header brightyellow default "^to:"
+color header red default "^cc:"
+
+#color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+"
+color body cyan default "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?"
+color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"
+#color body red default "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]"
+#color body green default "(^| )_[-a-z0-9äöüß_]+_[,.?]?[ \n]"
+
+# mutt says "Invalid range end" about these three. wassup?
+#color body cyan default "(^| )\\*[ -a-z0-9*]+\\*[,.?]?[ \n]"
+#color body cyan default "(^| )\"[ -a-z0-9*]+\"[,.?]?[ \n]"
+#color body green default "(^| )_[ -a-z0-9_]+_[,.?]?[ \n]"
+
+color body yellow default "^ +.*> "
+color body yellow default "(:|;)(-|^)*(\\)|\\()"
+color body red default "(-|=)(-|=)+"
+color body red default "\\|"
+color body brightyellow default "^[ A-Z,\\.?'\"!]{3,}"
+color body yellow default "^[0-9]*\\."
+color body yellow default "(\\[|\\])"
+
+# (default, white, black, green, magenta, blue, cyan, yellow, red)
+color index default default "~n 0"
+color index default default "~n 1"
+color index magenta default "~n 2"
+color index cyan default "~n 3"
+color index blue default "~n 4"
+color index yellow default "~n 5"
+color index brightred default "~n 6-"
+
+#color index green default ~F # Flagged
+color index green default ~N # New
+color index default magenta ~T # Tagged
+color index black red ~D # Deleted
+
+#gnupg
+color body green black "^gpg: Good signature from"
+color body brightred black "^gpg: Bad signature from"
+color body brightred black "^gpg: BAD signature from"
+color body brightred black "^gpg: Note: This key has expired!"
+color body brightyellow black "^gpg: WARNING: This key is not certified with a trusted signature!"
+color body brightyellow black "^gpg: There is no indication that the signature belongs to the owner."
+color body brightyellow black "^gpg: can't handle these multiple signatures"
+color body brightyellow black "^gpg: signature verification suppressed"
+color body brightyellow black "^gpg: invalid node with packet of type"
+
+# trip
+color index yellow black "~f makeyourself15"
+color index yellow black "~f moyer.16"
diff --git a/jobrien/config.jobrien.h b/jobrien/config.jobrien.h
@@ -0,0 +1,135 @@
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+#define BARPOS BarTop /* BarBot, BarOff */
+#define BORDERPX 1
+#define FONT "-*-snap-*-*-*-*-*-*-*-*-*-*-*-*"
+/* #define FONT "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*" */
+/* #define FONT "sans-7:bold" */
+
+/* default colors */
+#define NORMBORDERCOLOR "#cccccc"
+#define NORMBGCOLOR "#222222"
+#define NORMFGCOLOR "#ffffff"
+#define SELBORDERCOLOR "#0066ff"
+#define SELBGCOLOR "#0066ff"
+#define SELFGCOLOR "#ffffff"
+
+/* my colors - orange */
+/*#define NORMBORDERCOLOR "#333"
+#define NORMBGCOLOR "#333"
+#define NORMFGCOLOR "#bbb"
+#define SELBORDERCOLOR "#EE883A"
+#define SELBGCOLOR "#EE883A"
+#define SELFGCOLOR "#000"*/
+
+/* tagging */
+const char tags[][MAXTAGLEN] = { "www", "chat", "sound", "dev", "virt", "mail", "w", "e", "r" };
+
+/* Query class:instance:title for regex matching info with following command:
+ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
+
+Bool seltags[LENGTH(tags)] = {[0] = True};
+Rule rules[] = {
+ /* class:instance:title regex tags regex isfloating */
+ { "Gimp", NULL, True },
+ { "MPlayer", NULL, True },
+ { "Acroread", NULL, True },
+ { "xine", NULL, True },
+ { "Pidgin", "chat", False },
+ { "Firefox", "www", False },
+ { "Opera", "www", False },
+ { "Firefox-bin:.*(Bookmarks|Downloads)", "www", True },
+ { "Epiphany", "www", False },
+ { "xv", NULL, True },
+ { "knode", "mail", False },
+ { "Audacious", "sound", True },
+ { "urxvt", NULL, False },
+ { "xterm", NULL, False },
+ { "mutt", "mail", False },
+ { "liferea", "mail", False },
+ { "bsflite", "chat", False },
+ { "cmus", "sound", False },
+ { "floatterm", NULL, True },
+ { "Virtual", "virt", True },
+};
+/* layout(s) */
+#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
+#define RESIZEHINTS True
+#define SNAP 32 /* snap pixel */
+Layout layouts[] = {
+ /* symbol function */
+ { "><>", floating },
+ { "[]=", tile }, /* first entry is default */
+};
+
+/* key definitions */
+#define MODKEY Mod1Mask
+Key keys[] = {
+ /* modifier key function argument */
+ /* launching commands */
+ { MODKEY, XK_space, setlayout, NULL },
+ { MODKEY, XK_Return, spawn, "exec urxvt" },
+ { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt -title floatterm" },
+ { MODKEY|ControlMask, XK_t, spawn, "exec thunar" },
+ { MODKEY|ControlMask, XK_f, spawn, "exec firefox" },
+ { MODKEY|ControlMask, XK_l, spawn, "exec xlock -mode blank" },
+ { MODKEY|ControlMask, XK_b, spawn, "cmus-remote --next" },
+ { MODKEY|ControlMask, XK_v, spawn, "cmus-remote --stop" },
+ { MODKEY|ControlMask, XK_c, spawn, "cmus-remote --pause" },
+ { MODKEY|ControlMask, XK_x, spawn, "cmus-remote --play" },
+ { MODKEY|ControlMask, XK_z, spawn, "cmus-remote --prev" },
+ { MODKEY|ShiftMask, XK_z, spawn, "cmus-remote --shuffle" },
+ { MODKEY|ControlMask, XK_m, spawn, "urxvt -title mutt -e mutt" },
+ /* window operations */
+ { MODKEY, XK_b, togglebar, NULL },
+ { MODKEY, XK_Tab, viewprevtag, 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_z, zoom, NULL },
+ { MODKEY|ShiftMask, XK_space, togglefloating, NULL },
+ { MODKEY|ShiftMask, XK_c, killclient, NULL },
+ /* views */
+ { 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_q, view, tags[5] },
+ { MODKEY, XK_w, view, tags[6] },
+ { MODKEY, XK_e, view, tags[7] },
+ { MODKEY, XK_r, 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_q, toggleview, tags[5] },
+ { MODKEY|ControlMask, XK_w, toggleview, tags[6] },
+ { MODKEY|ControlMask, XK_e, toggleview, tags[7] },
+ { MODKEY|ControlMask, XK_r, 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_q, tag, tags[5] },
+ { MODKEY|ShiftMask, XK_w, tag, tags[6] },
+ { MODKEY|ShiftMask, XK_e, tag, tags[7] },
+ { MODKEY|ShiftMask, XK_r, 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_q, toggletag, tags[5] },
+ { MODKEY|ControlMask|ShiftMask, XK_w, toggletag, tags[6] },
+ { MODKEY|ControlMask|ShiftMask, XK_e, toggletag, tags[7] },
+ { MODKEY|ControlMask|ShiftMask, XK_r, toggletag, tags[8] },
+ /* { MODKEY|ShiftMask, XK_q, quit, NULL }, */
+};
diff --git a/jobrien/wificheck.sh b/jobrien/wificheck.sh
@@ -0,0 +1,24 @@
+#if [[ `lsmod |grep airo` ]]; then echo `iwconfig eth0 |grep ESSID |sed 's/.*ESSID:\"\(.*\)\"\s.*/\1/'`:`cat /proc/driver/aironet/eth0/Status |grep "Strength" |sed 's/Signal Strength\:\ //'`; else echo "<down>"; fi
+HI=75
+MED=50
+LOW=25
+SIGNAL=`cat /proc/driver/aironet/eth0/Status |grep "Strength" |sed 's/Signal Strength\:\ //'`
+
+if [[ `lsmod |grep airo` ]]
+then
+
+ if [[ $SIGNAL -ge $HI ]]
+ then
+ echo ".oO";
+ elif [[ $SIGNAL -ge $MED ]]
+ then
+ echo ".o "
+ elif [[ $SIGNAL -ge $LOW ]]
+ then
+ echo ". "
+ else
+ echo ". "
+ fi
+
+else echo " - "
+fi
diff --git a/jobrien/xinitrc b/jobrien/xinitrc
@@ -0,0 +1,131 @@
+## Choices ##
+# xfce4
+# ratpoison
+# fluxbox
+# dwm
+# wmii
+# gnome
+# kde
+# ion3
+# icewm
+# e17
+
+wmchoice="kde"
+xset r rate 195 35&
+#unclutter -idle 2 -jitter 10 -root &
+autocutsel &
+#remind -f -a -z1 -k'gxmessage -title "reminder" %s &' ~/.reminders &
+
+#***matchbox***
+if [ $wmchoice = "matchbox" ]; then
+~/.xsession &
+#gtkpbbuttons &
+matchbox
+fi
+
+#***ratpoison***
+if [ $wmchoice = "ratpoison" ]; then
+~/.xsession &
+#gtkpbbuttons &
+ratpoison
+fi
+
+#***evilwm***
+if [ $wmchoice = "evilwm" ]; then
+#~/.xsession &
+#gtkpbbuttons &
+setdotbackground &
+evilwm -snap 10 -term aterm
+fi
+
+#***xfce4***
+if [ $wmchoice = "xfce4" ]; then
+~/.xsession &
+#gtkpbbuttons &
+startxfce4
+fi
+
+#***fluxbox***
+if [ $wmchoice = "fluxbox" ]; then
+~/.xsession &
+#gtkpbbuttons &
+#gkrellm2 -w &
+setdotbackground &
+#idesk &
+~/.fluxbox/dockapps &
+fluxbox
+fi
+
+#***enlightenment
+if [ $wmchoice = "e16" ]; then
+~/.xsession &
+#gtkpbbuttons &
+e16
+fi
+
+#***enlightenment dr17
+if [ $wmchoice = "e17" ]; then
+#gtkpbbuttons &
+enlightenment_start
+fi
+
+#***dwm***
+if [ $wmchoice = "dwm" ]; then
+setdotbackground &
+#gtkpbbuttons &
+~/.xsession &
+yeahconsole &
+urxvt -T mutt -e mutt &
+#yeahlaunch -fn "*-terminus-*" -rx 900 \
+# "thunar ~" thunar \
+# "urxvt -e elinks" elinks \
+# "links -g" glinks \
+# firefox firefox \
+# "urxvt -e mutt" mutt
+while true
+do
+while true
+do
+# mpc "[`mpc status |head -n 1|sed -e 's/volume.*/stopped/'|tail -c 50`]"
+#temp/fan stuff here: [temp:`echo $(cat /sys/devices/temperatures/sensor1_temperature)+ 273|bc`K fan:`cat /sys/devices/temperatures/sensor1_fan_speed |cut -d" " -f 2 |sed 's/(//'`]
+echo [`checkmail.sh`] [`checkbatt.sh`] [`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq|sed 's/00000/00MHz/'`] [`wificheck.sh`] \| `date +'%d %a %H:%M'`
+sleep 3
+done | /usr/local/bin/dwm
+done
+fi
+
+#***ion3***
+if [ $wmchoice = "ion3" ]; then
+setdotbackground &
+#gtkpbbuttons &
+~/.xsession &
+ion3
+fi
+
+#***wmii***
+if [ $wmchoice = "wmii" ]; then
+setdotbackground &
+~/.xsession &
+#gtkpbbuttons &
+wmii
+fi
+
+#***kde***
+if [ $wmchoice = "kde" ]; then
+~/.xsession
+startkde
+fi
+
+#***gnome***
+if [ $wmchoice = "gnome" ]; then
+#xmodmap ~/.xmodmap-powerbook
+yeahconsole &
+gnome-session
+fi
+
+#***icewm***
+if [ $wmchoice = "icewm" ]; then
+~/.xsession &
+#gtkpbbuttons &
+icewm-session
+fi
diff --git a/meillo/Xdefaults b/meillo/Xdefaults
@@ -0,0 +1,79 @@
+! by markus schnalke
+! http://marmaro.de
+
+
+
+*font: -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*
+
+*foreground: #bbbbbb
+*background: #222222
+
+
+
+urxvt*scrollBar: false
+
+urxvt*saveLines: 10000
+
+urxvt.secondaryScroll: true
+
+
+
+
+
+!! colors 0-7 should be seen as background colors
+
+!! black
+urxvt*color0: #444444
+!! darkgray
+urxvt*color8: #000000
+!
+!! red
+urxvt*color1: #cc5566
+!! lightred
+urxvt*color9: #992233
+!
+!! green
+!urxvt*color2: #aece91
+urxvt*color2: #66aa44
+!! lightgreen
+!urxvt*color10: #c5f779
+urxvt*color10: #88aa88
+!
+!! yellow
+urxvt*color3: #dddd55
+!! lightyellow
+urxvt*color11: #cccc22
+!
+!! blue
+urxvt*color4: #003366
+!urxvt*color4: #9db7d0
+!! lightblue
+urxvt*color12: #4488cc
+!urxvt*color12: #3c8ec4
+!
+!! magenta
+!urxvt*color5: #963c59
+urxvt*color5: #aacc99
+!! lightmagenta
+!urxvt*color13: #cf9ebe
+urxvt*color13: #9977aa
+!
+!! cyan
+!urxvt*color6: #9fc1cc
+urxvt*color6: #88aadd
+!! lightcyan
+!urxvt*color14: #9fc1cc
+urxvt*color14: #448877
+!
+!! gray
+urxvt*color7: #666666
+!! white
+urxvt*color15: #bbbbbb
+
+
+
+
+
+! to divide urxvt and xterm apart
+xterm*background: #111111
+xterm*font: -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*
diff --git a/meillo/config.meillo.h b/meillo/config.meillo.h
@@ -0,0 +1,59 @@
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+#define BARPOS BarTop /* BarBot, BarOff */
+#define BORDERPX 1
+#define FONT "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*"
+#define NORMBORDERCOLOR "#333"
+#define NORMBGCOLOR "#333"
+#define NORMFGCOLOR "#bbb"
+#define SELBORDERCOLOR "#eec900"
+#define SELBGCOLOR "#eec900"
+#define SELFGCOLOR "#000"
+
+/* tagging */
+const char *tags[] = { "Das Alles", "Das Nichts", NULL };
+Rule rules[] = {
+ /* class:instance:title regex tags regex isfloating */
+ { "URxvt.*", "Das Nichts", False },
+ { "MPlayer", NULL, True },
+ { "qiv.*", NULL, True },
+ { "Gimp.*", "Das Alles", True },
+ { ".*", "Das Alles", False },
+};
+
+/* layout(s) */
+Layout layouts[] = {
+ /* symbol function */
+ { " ", maxlayout }, /* first entry is default */
+ { " ", tile },
+ /*{ "><>", floating },*/
+};
+#define RESIZEHINTS False /* False - respect size hints in tiled resizals */
+#define MWFACT 0.5 /* master width factor [0.1 .. 0.9] */
+#define SNAP 32 /* snap pixel */
+
+/* key definitions */
+#define MODKEY Mod1Mask
+#define KEYS \
+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, XK_asciicircum, spawn, \
+ "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
+ " | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
+ "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" }, \
+ { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
+ { MODKEY, XK_space, setlayout, NULL }, \
+ { MODKEY, XK_Tab, focusnext, NULL }, \
+ { MODKEY, XK_1, zoom, NULL }, \
+ { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \
+ { MODKEY, XK_2, killclient, NULL }, \
+ { MODKEY, XK_F1, toggleview, tags[0] }, \
+ { MODKEY, XK_F1, toggleview, tags[1] }, \
+ { MODKEY, XK_F1, toggleview, tags[0] }, \
+ { MODKEY|ShiftMask, XK_q, quit, NULL }, \
+ { MODKEY|ShiftMask, XK_F4, spawn, "exec sudo /sbin/shutdown -t1 -h now" }, \
+};
diff --git a/meillo/dircolorsrc b/meillo/dircolorsrc
@@ -0,0 +1,116 @@
+# markus schnalke -- http://marmaro.de
+
+
+# Configuration file for dircolors, a utility to help you set the
+# LS_COLORS environment variable used by GNU ls with the --color option.
+# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
+# slackware version of dircolors) are recognized but ignored.
+# Below, there should be one TERM entry for each termtype that is colorizable
+TERM linux
+TERM linux-c
+TERM mach-color
+TERM console
+TERM con132x25
+TERM con132x30
+TERM con132x43
+TERM con132x60
+TERM con80x25
+TERM con80x28
+TERM con80x30
+TERM con80x43
+TERM con80x50
+TERM con80x60
+TERM cygwin
+TERM dtterm
+TERM mlterm
+TERM putty
+TERM xterm
+TERM xterm-color
+TERM xterm-debian
+TERM rxvt
+TERM rxvt-unicode
+TERM screen
+TERM screen-bce
+TERM screen-w
+TERM vt100
+TERM Eterm
+
+# Below are the color init strings for the basic file types. A color init
+# string consists of one or more of the following numeric codes:
+# Attribute codes:
+# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
+# Text color codes:
+# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
+# Background color codes:
+# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
+
+NORMAL 00 # global default, although everything should be something.
+FILE 00 # normal file
+DIR 01;34 # directory
+LINK target # symbolic link. (If you set this to 'target' instead of a
+FIFO 40;33 # pipe
+SOCK 01;35 # socket
+DOOR 01;35 # door
+BLK 40;33;01 # block device driver
+CHR 40;33;01 # character device driver
+ORPHAN 40;31;01 # symlink to nonexistent file
+
+SETUID 37;41 # file that is setuid (u+s)
+SETGID 30;43 # file that is setgid (g+s)
+STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
+OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
+STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
+EXEC 01;32 # This is for files with execute permission
+
+
+
+# List any file extensions like '.gz' or '.tar' that you would like ls
+# to colorize below. Put the extension, a space, and the color init string.
+# (and any comments you want to add after a '#')
+# If you use DOS-style suffixes, you may want to uncomment the following:
+
+# archives or compressed (bright red)
+.tar 00;31
+.tgz 00;31
+.arj 00;31
+.taz 00;31
+.lzh 00;31
+.zip 00;31
+.z 00;31
+.Z 00;31
+.gz 00;31
+.bz2 00;31
+.deb 00;31
+.rpm 00;31
+.jar 00;31
+
+# image formats
+.jpg 01;35
+.jpeg 01;35
+.gif 01;35
+.bmp 01;35
+.pbm 01;35
+.pgm 01;35
+.ppm 01;35
+.tga 01;35
+.xbm 01;35
+.xpm 01;35
+.tif 01;35
+.tiff 01;35
+.png 01;35
+.mov 01;35
+.mpg 01;35
+.mpeg 01;35
+.avi 01;35
+.fli 01;35
+.gl 01;35
+.dl 01;35
+.xcf 01;35
+.xwd 01;35
+
+# audio formats
+.flac 01;35
+.mp3 01;35
+.mpc 01;35
+.ogg 01;35
+.wav 01;35
diff --git a/meillo/meillo_self.vim b/meillo/meillo_self.vim
@@ -0,0 +1,209 @@
+" Vim color file
+" markus schnalke -- http://marmaro.de
+"
+" This is meillo's own color scheme.
+"
+
+
+" First remove all existing highlighting.
+set background=light
+hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+
+
+" my code from here
+let colors_name = "meillo_self"
+
+
+
+
+
+"## GUI ###################################################################
+" Globals
+
+ hi Normal guifg=#000000 guibg=#d8d0c8 " Standard-Farben
+
+ hi LineNr guifg=#666666 guibg=#aaaaaa " Bereich der Zeilennummern
+
+ hi FoldColumn guifg=#cccccc guibg=#666666 " Bereich der Faltungen
+ hi Folded guifg=#000000 guibg=#e3c1a5 " Gefaltete Zeile
+
+ hi StatusLine gui=bold guifg=#ffffff guibg=#000000 " Statusleiste des aktiven Frames
+ hi StatusLineNC gui=bold guifg=#666666 guibg=#333333 " Statusleiste der anderen Frames
+
+ hi SpecialKey guifg=Blue
+ hi NonText guifg=#000000 " ~ and @ at the end of the file
+ hi Directory guifg=Blue
+ hi ErrorMsg gui=bold guifg=White guibg=Red
+
+ hi IncSearch gui=reverse " Waehrend der Suchbegriffseingabe
+ hi Search guibg=#ffeeaa " Abgeschlossene Suche
+
+ hi MoreMsg gui=bold guifg=SeaGreen
+ hi ModeMsg gui=bold
+ hi Question gui=bold guifg=SeaGreen
+
+ hi VertSplit gui=bold guifg=#000000 guibg=#000000
+
+ hi Title gui=bold guifg=DeepPink3
+ hi Visual guifg=#666666 guibg=#eeeedd " visual-Markierung
+ hi VisualNOS gui=bold,underline
+ hi WarningMsg gui=bold guifg=Red
+ hi WildMenu guifg=Black guibg=Yellow
+
+ hi DiffAdd guibg=White
+ hi DiffChange guibg=#edb5cd
+ hi DiffDelete gui=bold guifg=#6666ff guibg=#f6e8d0
+ hi DiffText gui=bold guibg=#ff8060
+
+ hi Cursor guifg=bg guibg=fg " der char unter dem Cursor
+ hi CursorLine guibg=#cccccc " the line that the cursor is
+ hi lCursor guifg=bg guibg=fg "??
+
+ hi MatchParen guibg=#aacc00
+
+ hi Pmenu guifg=#aaaaaa guibg=#333333
+ hi PmenuSel gui=bold guifg=#cccccc guibg=#666666
+
+" syntax
+ hi Comment guifg=#008000
+ hi Constant guifg=#800000
+ hi Special gui=bold guifg=#000000 " php-tags, Sonderzeichen, Klammern
+ hi Identifier guifg=#000080
+ hi Statement gui=bold guifg=#000080 " reservierte Worte
+ hi PreProc guifg=#800000
+ hi Type gui=none guifg=#0000aa " attribute (z.B. style, title, name)
+ hi Igrore guifg=bg
+ hi Error gui=bold guifg=#ffffff guibg=#ff0000
+ hi Todo guifg=#000000 guibg=#eecc00
+
+
+
+
+
+"## COLOR-TERM ##########################################################
+
+" Globals
+ hi FoldColumn ctermfg=0 ctermbg=0 cterm=bold
+ hi Folded ctermfg=0 ctermbg=0 cterm=bold
+ hi LineNr ctermfg=0 ctermbg=0 cterm=bold
+
+ hi StatusLine cterm=reverse
+ hi StatusLineNC ctermfg=0 ctermbg=7 cterm=bold,reverse
+ hi VertSplit ctermfg=0 ctermbg=0 cterm=bold
+
+ hi SpecialKey ctermfg=4
+ hi NonText ctermfg=4 cterm=bold
+ hi Directory ctermfg=4
+ hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
+ hi IncSearch cterm=reverse
+ hi Search ctermbg=3
+ hi MoreMsg ctermfg=2
+ hi ModeMsg cterm=bold
+ hi Question ctermfg=2
+ hi Title ctermfg=5
+
+ hi Visual cterm=reverse
+ hi VisualNOS cterm=bold,underline
+
+ hi WarningMsg ctermfg=1
+
+ hi WildMenu ctermfg=0 ctermbg=7
+
+ hi DiffAdd ctermbg=4
+ hi DiffChange ctermbg=5
+ hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
+ hi DiffText cterm=bold ctermbg=1
+
+
+" syntax
+ hi Comment cterm=bold ctermfg=2
+ hi Constant ctermfg=1
+ hi Special ctermfg=5
+ hi Identifier cterm=bold ctermfg=4
+ hi Statement ctermfg=3
+ hi PreProc ctermfg=7
+ hi Type ctermfg=6
+ hi Ignore cterm=bold ctermfg=7
+ hi Error cterm=bold ctermfg=7 ctermbg=1
+ hi Todo ctermfg=0 ctermbg=3
+
+" 0 = black
+" 1 = red
+" 2 = green
+" 3 = yellow
+" 4 = blue
+" 5 = magenta
+" 6 = cyan
+" 7 = white
+
+
+
+
+
+
+"## TERM ##################################################################
+
+" Globals
+ hi LineNr term=underline
+ hi FoldColumn term=standout
+ hi Folded term=standout
+ hi StatusLine term=bold,reverse
+ hi StatusLineNC term=reverse
+ hi SpecialKey term=bold
+ hi NonText term=bold
+ hi Directory term=bold
+ hi ErrorMsg term=standout
+ hi IncSearch term=reverse
+ hi Search term=reverse
+ hi MoreMsg term=bold
+ hi ModeMsg term=bold
+ hi Question term=standout
+ hi VertSplit term=reverse
+ hi Title term=bold
+ hi Visual term=reverse
+ hi VisualNOS term=bold,underline
+ hi WarningMsg358878 term=standout
+ hi WildMenu term=standout
+ hi DiffAdd term=bold
+ hi DiffChange term=bold
+ hi DiffDelete term=bold
+ hi DiffText term=reverse
+
+
+" syntax
+ hi Comment term=bold
+ hi Constant term=underline
+ hi Special term=bold
+ hi Identifier term=underline
+ hi Statement term=bold
+ hi PreProc term=underline
+ hi Type term=underline
+ " hi Ignore
+ hi Error term=reverse
+ hi Todo term=standout
+
+
+
+
+
+
+
+
+
+
+
+"" Set 'background' back to the default. The value can't always be estimated
+"" and is then guessed.
+"hi clear Normal
+"set bg&
+"" Remove all existing highlighting and set the defaults.
+"hi clear
+"" Load the syntax highlighting defaults, if it's enabled.
+"if exists("syntax_on")
+" syntax reset
+"endif
+"" vim: sw=2
+
diff --git a/meillo/mutt.colors b/meillo/mutt.colors
@@ -0,0 +1,48 @@
+# mutt color configuration
+# by markus schnalke -- http://marmaro.de
+
+
+
+# everything that's not in the list below
+color normal default default
+
+# top line, bottom line and message seperator
+color status black brightwhite
+
+# the selected item
+color indicator brightwhite black
+
+# ???
+color markers brightblue default
+
+# structure tree for attachments
+color tree black default
+
+# space below the mail text
+color tilde brightblue default
+
+# Messages like "reading mailbox"
+color message white default
+# Messages like "you are on the last line"
+color error red default
+
+
+
+
+# highlighting of the email itsself
+
+color hdrdefault white default
+color header brightyellow default ^From:
+color header brightyellow default ^Subject:
+color header yellow default ^To:
+color header yellow default ^Cc:
+color header brightred default ^Date:
+color header brightblack default ^X-Bogosity:
+color header brightblack default ^X-HE-Spam-Score:
+
+color quoted cyan default
+color quoted1 brightcyan default
+
+color attachment blue default
+
+color signature black default
diff --git a/meillo/screenrc b/meillo/screenrc
@@ -0,0 +1,47 @@
+# markus schnalke -- http://marmaro.de
+#
+# my screenrc
+#
+
+startup_message off
+defscrollback 10000
+hardstatus alwayslastline "%{KW} %{R}%H%{KW} < %-w%{Wk} %n %t %{-}%+w > %= %Y-%m-%d %c "
+
+#termcapinfo xterm|xterms|xs|rxvt|urxvt ti@:te@
+
+# startup programs
+
+screen -t ROOT sudo su
+screen w3m marmaro.de
+screen -t bash bash
+
+
+# program bindings
+
+bind R screen -t ROOT 0 sudo su
+bind M screen -t cplay 3 cplay -v
+
+
+# control bindings
+
+bind l windowlist -b
+bind - title
+bind n screen 2
+bind o only
+bind s split
+
+
+# unbind
+
+bind \'
+bind \"
+bind A
+bind b
+bind B
+bind N
+bind backspace
+bind p
+bind t
+bind w
+bind ,
+
diff --git a/meillo/xinitrc b/meillo/xinitrc
@@ -0,0 +1,29 @@
+# markus schnalke -- http://marmaro.de
+
+
+# turn off beeps (dont know if this really works)
+/usr/bin/xset -b
+/usr/bin/numlockx on
+
+# set CAPS_LOCK as ESC
+/usr/bin/xmodmap $HOME/.xmodmaprc
+# set multimedia keys
+/usr/bin/xbindkeys
+
+
+# set wallpaper
+#eval `cat $HOME/.fehbg`
+feh --bg-scale $HOME/.kiwi-tour.jpg
+
+
+# start apps
+firefox &
+urxvt -e ssh meillo@serveme &
+urxvt -e screen -R &
+
+
+# start the window manager
+while true ; do
+ echo `date +"%F %H:%M"`
+ sleep 2
+done | /usr/local/bin/dwm
diff --git a/polachok/Xdefaults b/polachok/Xdefaults
@@ -0,0 +1,63 @@
+*Foreground: #d3d7cf
+*Background: #2e3436
+*font: -artwiz-snap-normal-r-normal--11-*-*-*-*-*-iso10646-1
+*mem.cachedcolor: #2e3436
+*mem.freecolor: #2e3436
+*mem.buffercolor: #2e3436
+*mem.swapcolor: #2e3436
+//*font: -*-terminus-*-*-*-*-16-*-*-*-*-*-iso10646-1
+Fwm*selected.border: #55aaaa
+Fwm*normal.border: #4E7878
+Aterm*transparent: false
+Aterm*scrollBar: false
+Aterm*foreground: lightgrey
+Aterm*background: #2e3436
+Aterm*shading: 20
+Aterm*fading: 70
+Aterm*color4: #5c5cff
+Aterm*color1: #ff0000
+Aterm*color12: #5c5cff
+Rxvt*keysym.Home: \033[1~
+Rxvt*keysym.End: \033[4~
+Aterm*keysym.Home: \033[1~
+Aterm*keysym.End: \033[4~
+//#Aterm*font: -*-terminus-medium-r-normal-*-14-*-*-*-*-*-koi8-r
+Aterm*boldFont: -*-terminus-medium-*-*-*-*-*-*-*-*-iso10646-1
+Aterm*font: -*-terminus-medium-r-normal-*-14-*-*-*-*-*-iso10646-1
+xterm*vt100*font: -*-terminus-medium-r-normal-*-16-*-*-*-*-*-iso10646-1
+xterm*font: -*-terminus-medium-r-normal-*-16-*-*-*-*-*-iso10646-1
+xterm*vt100*BoldFont: -*-terminus-medium-r-normal-*-16-*-*-*-*-*-iso10646-1
+xman*manualFontNormal: -*-terminus-medium-r-normal-*-16-*-*-*-*-*-koi8-r
+xman*manualFontBold: -*-terminus-*-*-*-*-*-*-*-*-*-*-koi8-r
+xman*manualFontItalic: -*-terminus-*-*-*-*-*-*-*-*-*-*-koi8-r
+xman*directoryFontNormal: -*-terminus-*-*-*-*-*-*-*-*-*-*-koi8-r
+Xcursor.theme: Industrial
+URxvt*scrollBar_right: false
+URxvt*color4: #5c5cff
+URxvt*color1: #ff0000
+URxvt*color12: #5c5cff
+URxvt*borderColor: #202425
+URxvt*fadeColor: black
+URxvt*transparentTabbar: false
+URxvt*transparent: false
+URxvt*tabbed.tab-bg: lightgray
+URxvt*initTermNumber: 3
+URxvt*vt0*saveLines: 1600
+URxvt*vt1*saveLines: 1600
+URxvt*vt2*saveLines: 1600
+URxvt*scrollBar: false
+URxvt*foreground: lightgray
+URxvt*background: #2e3436
+URxvt*shading: 1
+URxvt*fading: 30
+URxvt*borderWidth: 0
+URxvt*internalBorder: 0
+URxvt*externalBorder: 0
+URxvt*hideButtons: true
+URxvt*bottomTabbar: true
+URxvt*font: -*-terminus-medium-r-normal-*-14-*-*-*-*-*-iso10646-1
+Xft.dpi: 96
+Xft.hinting: 1
+Xft.antialias: 1
+Xft.hintstyle: hintfull
+Xft.rgba: off
diff --git a/polachok/config.h b/polachok/config.h
@@ -0,0 +1,129 @@
+/* See LICENSE file for copyright and license details. */
+
+/* we have multimedia keys, see below */
+#include <X11/XF86keysym.h>
+
+/* appearance */
+#define BARPOS BarOff /* BarTop, BarOff */
+
+/* border width */
+#define BORDERPX 4
+
+/*
+ * If we are fwm you can use
+ * Fwm.normal.border: #cccccc
+ * Fwm.selected.border: #ff0000
+ * Fwm.border: 4
+ * in Xresources instead
+ */
+
+#define FONT "-artwiz-snap-*-*-*-*-10-*-*-*-*-*-koi8-r"
+
+/* dwm */
+#define NORMBORDERCOLOR "#555753"
+#define NORMBGCOLOR "#2e3436"
+#define NORMFGCOLOR "#d3d7cf"
+#define SELBORDERCOLOR "#676365"
+#define SELBGCOLOR "#3e4446"
+#define SELFGCOLOR "#d3d7cf"
+
+/* fwm
+#define SELBORDERCOLOR "#55aaaa"
+#define NORMBORDERCOLOR "#9eeeee"
+*/
+/* if we are fwm */
+#define BARHEIGHT 13
+#define NMASTER 1
+#define TERMINAL "urxvt"
+
+/* tagging */
+const char tags[][MAXTAGLEN] =
+ { "main", "www", "ncmpc", "gossip", "gimp", "htop", "mutt", "acme", "1", "2", "3" };
+Bool seltags[LENGTH (tags)] = {[0] = True };
+Rule rules[] = {
+ /* class:instance:title regex tags regex isfloating */
+ {"Firefox", "(www|1)", True},
+ {"Password Gorilla", NULL, True},
+ {"Gimp", "gimp", True},
+ {"MPlayer", NULL, True},
+ {"Acroread", NULL, True},
+ {"ncmpc", "ncmpc", True},
+ {"acme", "acme", True},
+ {"gossip", "gossip", True},
+ {"gajim", "gossip", True},
+ {"htop", "htop", True},
+ {"mutt", "(mutt|3)", True},
+ {"stats", "*", True},
+};
+
+/* layout(s) */
+#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
+#define RESIZEHINTS False /* respect size hints in tiled resizals */
+#define SNAP 5 /* snap pixel */
+Layout layouts[] = {
+ /* symbol function */
+ {"><>", floating},
+ {"[]=", tile}, /* first entry is default */
+};
+
+/* key definitions */
+#define MODKEY Mod1Mask
+Key keys[] = { \
+ /* modifier key function argument */ \
+ { MODKEY, XK_p, spawn, "pmenu" }, \
+ { MODKEY, XK_t, spawn, "exec urxvt" }, \
+ { MODKEY, XK_y, spawn, "ymenu" }, \
+ { MODKEY, XK_h, spawn, "ssh-ui" }, \
+ /* multimedia keys, if you don't have them, REMOVE this */
+ { 0, XF86XK_AudioNext, spawn, "exec `player-control -f`" }, \
+ { 0, XF86XK_AudioPrev, spawn, "exec `player-control -r`" }, \
+ { 0, XF86XK_AudioPlay, spawn, "exec `player-control -t`" }, \
+ { MODKEY, XK_space, setlayout, NULL }, \
+ { MODKEY, XK_b, togglebar, NULL }, \
+ { MODKEY, XK_j, focusnext, NULL }, \
+ { MODKEY, XK_k, focusprev, NULL }, \
+ { MODKEY, XK_minus, setmwfact, "-0.05" },\
+ { MODKEY, XK_equal, 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 }, \
+ { 0, XK_F12, view, NULL }, \
+ { MODKEY, XK_F1, view, tags[0] }, \
+ { MODKEY, XK_F2, view, tags[8] }, \
+ { MODKEY, XK_F3, view, tags[9] }, \
+ { MODKEY, XK_F4, view, tags[10] }, \
+ /* fwm
+ { MODKEY, XK_d, setnmaster, "-1" }, \
+ { MODKEY, XK_i, setnmaster, "1" }, \
+ { MODKEY, XK_w, focusview, tags[1] }, \
+ { MODKEY, XK_n, focusview, tags[2] }, \
+ { MODKEY, XK_o, focusview, tags[3] }, \
+ { MODKEY, XK_g, focusview, tags[4] }, \
+ { MODKEY, XK_s, focusview, tags[5] }, \
+ { MODKEY, XK_u, focusview, tags[6] }, \
+ { MODKEY, XK_a, focusview, tags[7] }, \
+ ...ends */
+ /* dwm */
+ { MODKEY, XK_w, toggleview, tags[1] }, \
+ { MODKEY, XK_n, toggleview, tags[2] }, \
+ { MODKEY, XK_o, toggleview, tags[3] }, \
+ { MODKEY, XK_g, toggleview, tags[4] }, \
+ { MODKEY, XK_s, toggleview, tags[5] }, \
+ { MODKEY, XK_u, toggleview, tags[6] }, \
+ { MODKEY, XK_a, toggleview, tags[7] }, \
+ /* ...ends */
+ { 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|ShiftMask, XK_q, quit, NULL }, \
+};
diff --git a/polachok/mutt.colors b/polachok/mutt.colors
@@ -0,0 +1,35 @@
+color attachment brightmagenta default
+color error brightwhite red # errors yell at you in red
+color hdrdefault red default # headers
+color indicator brightyellow cyan # currently selected message
+color markers brightcyan default # the + for wrapped pager lines
+color message brightcyan default # informational messages, not mail
+color normal white default # plain text
+color quoted cyan default # quoted text
+color search brightcyan default # hilite search patterns in the pager
+color signature red default # signature (after "-- ") is red
+color status black cyan # status bar is yellow *on blue*
+color tilde blue default # ~'s after message body
+color tree red default # thread tree in index menu is magenta
+color signature brightred default
+color underline yellow default
+color header red default ^(From|Subject): # Important headers
+color body magenta default "(ftp|http)://[^ ]+" # picks up URLs
+color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+
+# Coloring quoted text - coloring the first 7 levels:
+color quoted cyan default
+color quoted1 yellow default
+color quoted2 red default
+color quoted3 cyan default
+color quoted4 cyan default
+color quoted5 yellow default
+color quoted6 red default
+color quoted7 cyan default
+color body yellow default "[;:]-[)/(|]"
+color body yellow default "[;:][)/(|]"
+color body cyan default "[[:alpha:]]\+://[^ ]*"
+color index brightyellow default ~N # New
+color index yellow default ~O # Old
+color index magenta default ~F
+color index blue default ~T
+color index red default ~D
diff --git a/polachok/screenrc b/polachok/screenrc
@@ -0,0 +1,54 @@
+deflogin on
+autodetach off
+#altscreen on
+startup_message off
+shell zsh
+activity "active: %n (%t) [%w:%s]"
+bell "bell: %n (%t) [%w:%s]^G"
+vbell off
+vbell_msg "[[[ ding ]]]"
+defscrollback 10000
+#nonblock on
+msgwait 2
+# only Shift+k to kill - prevent accidents
+bind k
+bind ^k
+bind K kill
+#defutf8 on
+activity 'Activity on screen %n ^G'
+bindkey ^[0 select 0
+bindkey ^[1 select 1
+bindkey ^[2 select 2
+bindkey ^[3 select 3
+bindkey ^[4 select 4
+bindkey ^[5 select 5
+bindkey ^[6 select 6
+bindkey ^[7 select 7
+bindkey ^[8 select 8
+bindkey ^[9 select 9
+bindkey ^[T screen
+# Make the xterm scroller work in screen, also works
+# with mouse scrollwheel
+#termcapinfo xterm*|rxvt* ti@:te@
+#termcapinfo xterm*|rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+#termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
+#termcapinfo xterm*|linux*|rxvt*|Eterm* OP
+#termcap xterm|rxvt* hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
+#terminfo xterm|rxvt* hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+#termcapinfo xterm*|rxvt* Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
+#termcapinfo xterm* OL=100
+#termcapinfo xterm|rxvt* 'VR=\E[?5h:VN=\E[?5l'
+#termcapinfo xterm|rxvt* 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
+#termcapinfo xterm|rxvt* 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
+#termcapinfo xterm|rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+#termcapinfo xterm|rxvt* 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
+#termcapinfo xterm|rxvt* 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
+#termcapinfo xterm*|rxvt* be
+#backtick 1 0 0 cat /home/polachok/.screen-status
+# Here comes the pain...
+hardstatus alwayslastline "%{=b dw}%{=b dw}[ %h ] [ %= %?%{-b dc}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b dc}%+Lw%? %{=b dk}%{=b dw}] [ %{-b dw}Load%{+b dk}: %{-b dc}%l %{=b dw}] [ %{-b dw}%{-b dc}%D %M %d %c:%s %Y%{=b dw} ]"
+#caption always "%{=b dw}%{=b dw}[ %{-b dc}%h%{=b dw} ] [ %= %?%{-b dc}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b dc}%+Lw%? %{=b dk}%{=b dw}] [%{-b dw} %1`%{=b dw} ]"
+#caption always "%{=b dw}[ %= %?%{-b dc}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b dc}%+Lw%? %{=b dk}%{=b dw}] %{=b dw}[ %{-b dc}%h%{=b dw} ] [%{-b dw} %1`%{=b dw} ]"
+#hardstatus alwayslastline "%{+b d%{+b dw}[%{-b dg} %0C:%s%a %{=b dk}]-[ %{-b dw}Load%{+b dk}:%{-b dg}%l %{+b dk}] %h"
+#hardstatus alwayslastline "%{kw} %{c}%H%{K} < %-w%{Wc} %n %t %{-}%+w > %= %D %M %d %c:%s %Y %{kw} бла "
+#sorendition "-b dw"
diff --git a/polachok/xsession b/polachok/xsession
@@ -0,0 +1,46 @@
+#!/bin/sh
+eval `dbus-launch --sh-syntax --exit-with-session`
+xrdb ~/.Xdefaults
+eval `grep "export PLAN9" ~/.zshrc`
+eval `grep "export PATH" ~/.zshrc`
+# set wallpaper
+oboinus --restore &
+#ivman -d > ~/.ivman.log &
+#xgamma -gamma 1.1 &
+#export LANG=ru_RU.KOI8-R
+export LANG=ru_RU.UTF-8
+export G_FILENAME_ENCODING=@locale
+export G_BROKEN_FILENAMES=1
+java -jar ~/downloads/toonel.jar -t &
+#feh --bg-tile ~/share/wallpapers/stripes.png &
+#feh --bg-scale ~/share/wallpapers/Macpaper_by_UnnamedTrollgrey.jpg &
+#feh --bg-scale ~/share/wallpapers/radio_route_10244.jpg &
+#feh --bg-scale ~/share/wallpapers/CCCP-hackstyle.png &
+#feh --bg-scale ~/share/wallpapers/whodys_way_revised.jpg &
+# feh --bg-scale ~/share/wallpapers/ERASE.jpg &
+# xsetroot -cursor_name left_ptr &
+# xsetroot -solid "#4d4d4d"
+#feh --bg-scale ~/share/wallpapers/Underwater_City_by_Bi0shadow.png &
+#feh --bg-scale ~/share/wallpapers/Macpaper_by_UnnamedTrollgrey.jpg &
+#feh --bg-scale ~/share/wallpapers/wsvistagrass1600x1200rp0.jpg &
+#feh --bg-scale ~/share/wallpapers/120119silvatrez11280inv.jpg &
+#xsetroot -solid black
+xset +fp ~/.fonts/artwiz-rus
+mpd
+# we have some such-called multimedia keys
+xmodmap ~/.xmodmaprc
+autocutsel -selection PRIMARY -fork
+autocutsel -selection CLIPBOARD -fork
+# update menu
+wmenu-gen&
+swarp 1280 900 &
+unclutter -idle 1 &
+sudo root-tail -g 1200x100+20-20 --fork --update --noflicker -fn -artwiz-snap-*-*-*-*-11-*-*-*-*-*-koi8-r /var/log/messages,#a3a79f&
+xmodmap ~/.xmodmaprc &
+urxvt -geometry 43x40-4+7 -e ncmpc&
+(sleep 8 ; urxvt -geometry 149x49-28-36 -e mutt -y & cp ~/.screenrc.misc ~/.screenrc ; urxvt -T htop -geometry 120x40+150+110 -e screen & ( sleep 3 ; cp ~/.screenrc.orig ~/.screenrc) & ) &
+xbattbar-acpi -p top -I "#55aaaa" -O "#4E7878" -o "#4E7878" -i "#55aaaa" -S 0 -C 0 -a -s 4 &
+#cat ~/.fwm | dzen2 -fn "-artwiz-snap-*-*-*-*-11-*-*-*-*-*-koi8-r" -ta r -y 787 -bg "#2e3436" &
+LANG=C statusd | dzen2 -fn "-artwiz-snap-*-*-*-*-11-*-*-*-*-*-iso10646-1" -ta r -y 787 -bg "#2e3436" &
+#exec urxvt
+exec fwm > /dev/null