summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-11 11:13:14 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-11 11:13:14 (GMT)
commit43a1bc3094d1d8da0a2b2cedcf98cda6f450e00c (patch)
treedf8e143285987e8a6a76657f9037a424a0262500
downloaddotfiles-43a1bc3094d1d8da0a2b2cedcf98cda6f450e00c.tar.xz
Initial import of dotfiles
-rw-r--r--Xdefaults306
-rw-r--r--Xmodmap43
-rw-r--r--config/rox.sourceforge.net/Colours/Zenburn21
-rw-r--r--crm114/mailfilter.cf438
-rw-r--r--emacs730
-rw-r--r--etwolf/etconfig.cfg551
-rw-r--r--fonts.conf52
-rw-r--r--fvwm/fvwm2rc1225
-rw-r--r--gitconfig13
-rw-r--r--gmrunrc47
-rw-r--r--gnupg/gpg-agent.conf13
-rw-r--r--gnupg/gpg.conf190
-rw-r--r--gtkrc-2.030
-rw-r--r--irssi/config450
-rw-r--r--irssi/zenbarn.theme271
-rw-r--r--pinerc827
-rw-r--r--procmailrc263
-rw-r--r--screenrc31
-rw-r--r--vimperator/colors/clearlooks.vimp63
-rw-r--r--vimperator/colors/difolt.vimp63
-rw-r--r--vimperatorrc243
-rw-r--r--vimrc29
-rw-r--r--xbindkeysrc47
-rwxr-xr-xxinitrc155
-rw-r--r--zshrc379
25 files changed, 6480 insertions, 0 deletions
diff --git a/Xdefaults b/Xdefaults
new file mode 100644
index 0000000..4b54bba
--- /dev/null
+++ b/Xdefaults
@@ -0,0 +1,306 @@
+! anrxc's X application resource database
+
+
+!{{{ XFT
+Xft.dpi: 96
+Xft.antialias: 1
+Xft.hinting: 1
+Xft.hintstyle: hintfull
+Xft.rgba: rgb
+!}}}
+
+
+!{{{ EMACS
+!
+! Workaround for new frames, .emacs default-font was not honored
+Emacs.font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-2
+!}}}
+
+
+!{{{ URXVT
+!
+! General
+!urxvt*geometry: 80x26
+urxvt.termName: rxvt-256color
+urxvt.loginShell: true
+urxvt.scrollBar: false
+urxvt.secondaryScroll: true
+urxvt.saveLines: 65535
+urxvt.cursorBlink: false
+urxvt.urgentOnBell: true
+urxvt.override-redirect: false
+!urxvt.borderLess: false
+!urxvt.borderWidth: 1
+!urxvt.internalBorder: 0
+!
+! Extensions
+urxvt*perl-lib: /usr/lib/urxvt/perl/
+urxvt*perl-ext-common: default,matcher,searchable-scrollback
+urxvt*urlLauncher: /usr/local/bin/firefox
+urxvt*matcher.button: 1
+! So we catch even nasty URLs
+urxvt.cutchars: `()'*<>[]{|}"
+URxvt*cutchars: `"()'*<>[]{|}
+!
+! Appearance
+urxvt.font: -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-*-*
+urxvt.boldFont: -xos4-terminus-bold-*-*-*-12-*-*-*-*-*-*-*
+!
+! Cursor
+urxvt.cursorColor: #DCDCCC
+!
+! Pseudo Transparency
+!urxvt.shading: 30
+!urxvt.transparent: false
+!
+! Zenburn color-scheme
+urxvt*background: #3f3f3f
+urxvt*foreground: #dcdccc
+! black + red
+!urxvt*color0: #3f3f3f
+urxvt*color0: #1E2320
+urxvt*color1: #705050
+! green + yellow
+urxvt*color2: #60b48a
+urxvt*color3: #dfaf8f
+! blue + purple
+urxvt*color4: #506070
+urxvt*color5: #dc8cc3
+! cyan + white
+urxvt*color6: #8cd0d3
+urxvt*color7: #dcdccc
+! bright-black + bright-red
+urxvt*color8: #709080
+urxvt*color9: #dca3a3
+! bright-green + bright-yellow
+urxvt*color10: #c3bf9f
+urxvt*color11: #f0dfaf
+! bright-blue + bright-purple
+urxvt*color12: #94bff3
+urxvt*color13: #ec93d3
+! bright-cyan + bright-white
+urxvt*color14: #93e0e3
+urxvt*color15: #ffffff
+!}}}
+
+
+!{{{ XTERM
+xterm*internalBorder: 0
+xterm*loginShell: true
+xterm*scrollBar: false
+xterm*cursorBlink: false
+!xterm*geometry: 80x26
+xterm*saveLines: 65535
+xterm*dynamicColors: on
+xterm*highlightSelection: true
+! Appearance
+xterm*utf8: 2
+xterm*eightBitInput: true
+xterm*faceName: terminus:pixelsize=10
+xterm*cursorColor: #FFFFFF
+! Zenburn
+xterm*background: #3f3f3f
+xterm*foreground: #dcdccc
+xterm*color0: #1E2320
+xterm*color1: #705050
+xterm*color2: #60b48a
+xterm*color3: #dfaf8f
+xterm*color4: #506070
+xterm*color5: #dc8cc3
+xterm*color6: #8cd0d3
+xterm*color7: #dcdccc
+xterm*color8: #709080
+xterm*color9: #dca3a3
+xterm*color10: #c3bf9f
+xterm*color11: #f0dfaf
+xterm*color12: #94bff3
+xterm*color13: #ec93d3
+xterm*color14: #93e0e3
+xterm*color15: #ffffff
+!}}}
+
+
+!{{{ XLOCK
+XLock.mode: blank
+!XLock.mode: fzort
+!XLock.mode: atunnels
+!XLock.icongeometry: 256x256
+XLock.username: Username:
+XLock.password: Password:
+XLock.foreground: White
+XLock.background: Gray20
+XLock.description: false
+XLock.echokeys: true
+XLock.echokey: *
+XLock.info:
+!XLock.info: Enter password to unlock \nSelect icon to lock
+XLock.validate: Validating login...
+XLock.invalid: Login failed
+XLock.font: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-*-*
+XLock.planfont: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-*-*
+XLock.messagefont: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-*-*
+!XLock.ncolors: 200
+!XLock.dpmsstandby: 600
+!XLock.dpmssuspend: 1200
+!XLock.dpmsoff: 1800
+!}}}
+
+
+!{{{ XMAN
+Xman*Background: #3F3F3F
+Xman*Foreground: #F0DFAF
+Xman*bothShown: true
+Xman*topBox: false
+Xman*manualFontNormal: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-iso8859-2
+Xman*manualFontBold: -xos4-terminus-bold-*-*-*-*-*-*-*-*-*-iso8859-2
+Xman*manualFontItalic: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-iso8859-2
+Xman*directoryFontNormal: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-iso8859-2
+!}}}
+
+
+!{{{ XPDF
+xpdf*foreground: black
+xpdf*background: white
+xpdf*urlCommand: /usr/local/bin/firefox %s
+xpdf*antialias: yes
+xpdf*enableFreetype: yes
+!}}}
+
+
+!{{{ XCLOCK
+xclock*update: 1
+xclock*Mode: analog
+xclock*Background: #3F3F3F
+xclock*Border: #3F3F3F
+xclock*Foreground: #F0DFAF
+xclock*geometry: 120x120+1160+15
+!}}}
+
+
+!{{{ XDIARY
+xdiary*geometry: 220x190+1034+15
+xdiary*background: #3F3F3F
+xdiary*foreground: #F0DFAF
+!}}}
+
+
+!{{{ XMESSAGE
+Xmessage*font: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-iso8859-2
+Xmessage*background: #3F3F3F
+Xmessage*foreground: #F0DFAF
+Xmessage*form.*.shapeStyle: rectangle
+Xmessage*Scrollbar.width: 1
+Xmessage*Scrollbar.borderWidth: 0
+!Xmessage.form.message.Scroll: WhenNeeded
+Xmessage*Buttons: Quit
+Xmessage*defaultButton: Quit
+!Xmessage*geometry: +20+20
+!}}}
+
+
+!{{{ XCLIPBOARD
+xclipboard.geometry: 287x195+993+15
+XClipboard*international: true
+XClipboard*font: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-iso8859-2
+XClipboard*borderColor: #3F3F3F
+XClipboard*cursorColor: Gray93
+XClipboard*Foreground: #F0DFAF
+XClipboard*Background: #3F3F3F
+XClipboard*form.*.shapeStyle: rectangle
+!}}}
+
+
+!{{{ XCALC
+xcalc*geometry: 200x275
+xcalc.ti.bevel.background: #111111
+xcalc.ti.bevel.screen.background: #000000
+xcalc.ti.bevel.screen.DEG.background: #000000
+xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
+xcalc.ti.bevel.screen.GRAD.background: #000000
+xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
+xcalc.ti.bevel.screen.RAD.background: #000000
+xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
+xcalc.ti.bevel.screen.INV.background: #000000
+xcalc.ti.bevel.screen.INV.foreground: Red
+xcalc.ti.bevel.screen.LCD.background: #000000
+xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
+xcalc.ti.bevel.screen.LCD.shadowWidth: 0
+xcalc.ti.bevel.screen.M.background: #000000
+xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
+xcalc.ti.bevel.screen.P.background: #000000
+xcalc.ti.bevel.screen.P.foreground: Yellow
+xcalc.ti.Command.foreground: White
+xcalc.ti.Command.background: #777777
+xcalc.ti.button5.background: Orange3
+xcalc.ti.button19.background: #611161
+xcalc.ti.button18.background: #611161
+xcalc.ti.button20.background: #611111
+xcalc.ti.button25.background: #722222
+xcalc.ti.button30.background: #833333
+xcalc.ti.button35.background: #944444
+xcalc.ti.button40.background: #a55555
+xcalc.ti.button22.background: #222262
+xcalc.ti.button23.background: #222262
+xcalc.ti.button24.background: #222272
+xcalc.ti.button27.background: #333373
+xcalc.ti.button28.background: #333373
+xcalc.ti.button29.background: #333373
+xcalc.ti.button32.background: #444484
+xcalc.ti.button33.background: #444484
+xcalc.ti.button34.background: #444484
+xcalc.ti.button37.background: #555595
+xcalc.ti.button38.background: #555595
+xcalc.ti.button39.background: #555595
+XCalc*Cursor: hand2
+XCalc*ShapeStyle: rectangle
+!}}}
+
+
+!{{{ XFONTSEL
+XFontSel*menu*showUnselectable: false
+XFontSel*sampleText.background: TEXTBG
+XFontSel*MenuButton.shadowWidth: 0
+XFontsel*Toggle*ToggleStyle: check
+XFontsel*MenuButton*Justify: left
+XFontsel*MenuButton*MenuButtonStyle: select
+xfontsel.pane.commandBox.quitButton.background: #777777
+xfontsel.pane.commandBox.quitButton.foreground: snow
+xfontsel.pane.commandBox.ownButton.background: orange3
+xfontsel.pane.commandBox.ownButton.foreground: snow
+xfontsel.pane.commandBox.countLabel.background: snow
+xfontsel.pane.viewPort.sampleText.background: #777777
+xfontsel.pane.viewPort.sampleText.foreground: snow
+xfontsel.pane.fieldBox.field0.background: #777777
+xfontsel.pane.fieldBox.field0.foreground: snow
+xfontsel.pane.fieldBox.field1.background: #777777
+xfontsel.pane.fieldBox.field1.foreground: snow
+xfontsel.pane.fieldBox.field2.background: #777777
+xfontsel.pane.fieldBox.field2.foreground: snow
+xfontsel.pane.fieldBox.field3.background: #777777
+xfontsel.pane.fieldBox.field3.foreground: snow
+xfontsel.pane.fieldBox.field4.background: #777777
+xfontsel.pane.fieldBox.field4.foreground: snow
+xfontsel.pane.fieldBox.field5.background: #777777
+xfontsel.pane.fieldBox.field5.foreground: snow
+xfontsel.pane.fieldBox.field6.background: #777777
+xfontsel.pane.fieldBox.field6.foreground: snow
+xfontsel.pane.fieldBox.field7.background: #777777
+xfontsel.pane.fieldBox.field7.foreground: snow
+xfontsel.pane.fieldBox.field8.background: #777777
+xfontsel.pane.fieldBox.field8.foreground: snow
+xfontsel.pane.fieldBox.field9.background: #777777
+xfontsel.pane.fieldBox.field9.foreground: snow
+xfontsel.pane.fieldBox.field10.background: #777777
+xfontsel.pane.fieldBox.field10.foreground: snow
+xfontsel.pane.fieldBox.field11.background: #777777
+xfontsel.pane.fieldBox.field11.foreground: snow
+xfontsel.pane.fieldBox.field12.background: #777777
+xfontsel.pane.fieldBox.field12.foreground: snow
+xfontsel.pane.fieldBox.field13.background: #777777
+xfontsel.pane.fieldBox.field13.foreground: snow
+xfontsel.pane.fieldBox*foreground: #000000
+xfontsel.pane.fieldBox.MenuButton.borderWidth: 1
+xfontsel.pane.fieldBox.MenuButton.internalHeight:1
+xfontsel.pane.fieldBox.MenuButton.internalWidth: 2
+xfontsel.pane.fieldBox.MenuButton.shapeStyle: rectangle
+!}}}
diff --git a/Xmodmap b/Xmodmap
new file mode 100644
index 0000000..2edbe91
--- /dev/null
+++ b/Xmodmap
@@ -0,0 +1,43 @@
+! anrxc's X keymap settings
+
+
+!
+! Map extra keys
+!
+keycode 167 = EuroSign
+keycode 159 = dollar
+! - moved to X/hal
+!keycode 146 = XF86ModeLock
+!keycode 229 = XF86Search
+!keycode 231 = XF86Refresh
+!keycode 120 = XF86WWW
+!keycode 130 = XF86Mail
+
+
+!
+! Fix ergonomic problems
+!
+! Use Menu as a slash
+keycode 135 = slash
+!
+! Use Menu as Super_L
+!keycode 117 = Super_L
+!
+! Swap / and =
+!keycode 16 = 7 equal
+!keycode 19 = 0 slash
+!
+! Swap Y and Z on US layout
+!keycode 52 = z
+!keycode 29 = y
+
+
+!
+! Swap Caps_Lock and Control_L
+! - moved to X/hal
+!remove Lock = Caps_Lock
+!remove Control = Control_L
+!keysym Control_L = Caps_Lock
+!keysym Caps_Lock = Control_L
+!add Lock = Caps_Lock
+!add Control = Control_L
diff --git a/config/rox.sourceforge.net/Colours/Zenburn b/config/rox.sourceforge.net/Colours/Zenburn
new file mode 100644
index 0000000..d25e66f
--- /dev/null
+++ b/config/rox.sourceforge.net/Colours/Zenburn
@@ -0,0 +1,21 @@
+
+[roxterm colour scheme]
+0=#1e1e23232020
+1=#707050505050
+2=#6060b4b48a8a
+3=#dfdfafaf8f8f
+4=#505060607070
+5=#dcdc8c8cc3c3
+6=#8c8cd0d0d3d3
+7=#dcdcdcdccccc
+palette_size=16
+8=#707090908080
+9=#dcdca3a3a3a3
+10=#c3c3bfbf9f9f
+11=#f0f0dfdfafaf
+12=#9494bfbff3f3
+13=#ecec9393d3d3
+14=#9393e0e0e3e3
+15=#ffffffffffff
+foreground=#dcdcdcdccccc
+background=#3f3f3f3f3f3f
diff --git a/crm114/mailfilter.cf b/crm114/mailfilter.cf
new file mode 100644
index 0000000..d11cd27
--- /dev/null
+++ b/crm114/mailfilter.cf
@@ -0,0 +1,438 @@
+# mailfilter.cf -- Config file for mailfilter, mailreaver, mailtrainer
+#
+# You MUST edit the fileds for "Secret Password", "mime decoder", and
+# "cache_dupe_command". Just those THREE things.
+#
+# Changes to all other values are optional.
+#
+# Many of the options here have two or three alternatives; for your
+# convenience, we have put all of the reasonable alternatives
+# on sequential lines. Uncomment the one you want, and leave the
+# others commented out. If you leave more than one uncommented, the
+# last one is the one that's used. Don't do that; it's ugly.
+#
+# After you edit this file, don't forget to edit 'rewrites.mfp'
+
+# --------->>> You MUST set the following correctly! <<<-------
+#
+# If you leave it as "DEFAULT-PASSWORD", you will not be able to
+# access the mail-to-myself commanding system, as "DEFAULT-PASSWORD"
+# is specifically _disabled_ as a legal password. Just pick something, eh?
+#
+:spw: /drowssap/
+
+# ----- If you want a verbose startup, turn this on. Note that this is
+# ----- intentionally _after_ the password is set, so a verbose startup
+# ----- will not reveal your password.
+#
+#:verbose_startup: /SET/
+:verbose_startup: //
+
+#
+# --------->>> You MUST set the following correctly! <<<-------
+#
+# --- Some mail systems do mime decoding with "mimencode -d" or "-u".
+# --- Others (such as Red Hat 8.0) use "mewdecode" .
+# --- Yet others (such as Fedora Core 3) use "openssl base64 -d" .
+# --- Yet Others (i.e. *BSDs) can use "base64" .
+# --- See which one is on your system and use that one- comment
+# --- the others out. If you can't figure out what your base64 mime
+# --- decoder is, or don't want mime decoding, set :do_base64: to /no/
+# --- but expect a significant accuracy decrease if you do this.
+#
+#:do_base64: /no/
+:do_base64: /yes/
+#
+#:mime_decoder: /mewdecode/
+#:mime_decoder: /mimencode -d/
+#:mime_decoder: /mimencode -u/
+#:mime_decoder: /base64 -d/
+:mime_decoder: /openssl base64 -d/
+#:mime_decoder: /normalizemime/
+
+
+# --------->>> You MUST set the following correctly! <<<-------
+#
+# --- Linux (and Unix) systems use "hardlinks" to make a file
+# --- appear in more than one place, while not actually using up
+# --- extra disk space. Sadly, it is the case that most
+# --- Windows systems have no such feature. So, you must set the
+# --- following for what kind of system you are actually using.
+# -- Note to other developers: here's where to put other system-dependent
+# -- syscall commands.
+#
+# --- Use the default /ln/ for LINUX and UNIX systems (does a hard-link,
+# --- does not use up disk space or inodes). Change this to the /copy/
+# --- command for WINDOWS systems (95, 98, NT, XP)
+#
+# --- Mild security issue: to avoid a theoretical exploit where a user
+# --- gets their commands re-aliased, make sure you use the fully qualified
+# --- commandname (that is, starting in the root directory).
+#
+:cache_dupe_command: /\/bin\/ln/
+#:cache_dupe_command: /copy/
+
+
+
+###########################################################################
+#
+# END of things you absolutely MUST set. Feel free
+# to keep reading though...
+#
+###########################################################################
+
+###########################################################################
+#
+# START of things you might likely want to set. These
+# are probably OK for you, but many users change these things.
+#
+##########################################################################
+
+# ----------- define an optional target for where to send spam (that is,
+# ------------ emails that we want to "fail", or reject to another
+# ------------ address. Note that this is NOT a "program fault" address,
+# ------------ but where to send "bad" email to in the general case.
+# ------------ You can specify tightly controlled conditions too,
+# ------------ (see the next stanza)
+# ----------- To NOT forward this to another account, just leave the
+# ----------- address as the empty string, which is '//'.
+# ----------- This works fine especially if your mail reader program
+# ----------- can sort based on the ADV and UNS (or whatever you choose
+# ----------- to use as flagging strings) in the "Subject:" field.
+# ------- CAUTION- some systems are buggy and _REQUIRE_ a user@host.domain
+# ----- in the following to forward spammy mail correctly. WTF??? :-(
+#
+#:general_fails_to: /somebody@somewhere.net/
+:general_fails_to: //
+
+
+# -------- If you would prefer to send specific kinds of spam to
+# -------- different mailboxes, here's where to do it.
+# -------- (be sure to uncomment the line!). Again, these are
+# --------- not "program fault" conditions, just different filter results.
+#
+# :fail_priority_mail_to: /where_priority_fails_go/
+# :fail_blacklist_mail_to: /where_blacklist_fails_go/
+# :fail_SSM_mail_to: /where_Classifier_fails_go_for_mailFILTER/
+# :fail_classify_mail_to: /where_classifier_fails_go_for_mailREAVER/
+
+
+# --------- Do we give nonspam, spam, and unsure an exitcode of 0
+# --------- (for most standalone apps) or something else?
+# --------- Usually we use an exit code of 1 for "program fault",
+# --------- but change it if you need to use 0/1 for good/spam
+# --------- Don't use an exit code greater than 128 (it breaks BASH!)
+# --------- If you use exit codes (procmail doesn't) change it here.
+:rejected_mail_exit_code: /0/
+:accepted_mail_exit_code: /0/
+:unsure_mail_exit_code: /0/
+:program_fault_exit_code: /1/
+
+#######################################################################
+#
+# END of things you are likely to want to change.
+#
+# Anything following is starting to approach true customization.
+# Feel free to explore and poke around.
+######################################################################
+
+# -----------Do we want to add the optional headers to the mail?
+# -----------If turned on, will add X-CRM114-Whatever: headers on each
+# -----------incoming email. (note- this does NOT turn off the cache-id header
+#
+:add_headers: /yes/
+#:add_headers: /no/
+
+
+# --------- do we add the statistics report?
+#:add_verbose_stats: /yes/
+:add_verbose_stats: /no/
+
+
+# --------- do we add the mailtrainer report to the top of the message body
+# --------- after training?
+#:add_mailtrainer_report: /yes/
+:add_mailtrainer_report: /no/
+
+
+# --------- Do we enable long-form explains (with lots of text)?
+# -- you can have no extra stuff, add it as text, or add it as an attachment.
+# -- (only available in mailfilter, not mailreaver)
+#
+:add_extra_stuff: /no/
+# :add_extra_stuff: /text/
+# :add_extra_stuff: /attachment/
+
+
+# --------- Do we want to insert a "flagging" string on the subject line,
+# --------- perhaps to insert an 'ADV:' ? Whatever string we put here
+# --------- will be inserted at the front of the subject if we think the
+# --------- mail is spam.
+#
+# :spam_flag_subject_string: //
+:spam_flag_subject_string: /*SPAM*/
+
+# --------- Do we want to insert a "flagging" string on the subject line
+# --------- for good email? Usually we don't.... so we set this to the
+# --------- null string - that is, //
+:good_flag_subject_string: //
+
+# ------------Similarly, do we want to insert a "flagging" string on
+# -------------the subject line of an "unsure" email? This way we know
+# --------------we need to train it even if "headers" is turned off.
+# :unsure_flag_subject_string: //
+:unsure_flag_subject_string: //
+
+# ------------- Do we want Training ConFirmation flags on the results of
+# ------------- a message to be learned? Default is "TCF:".
+#:confirm_flag_subject_string: /TCF:/
+:confirm_flag_subject_string: //
+
+
+# --------- Do we want to do any "rewrites" to increase generality and
+# ---------- (usually) accuracy? IF 'yes', be sure to edit rewrites.mfp!
+# --------- NOTE: this option is somewhat slow. If your mailserver is
+# --------- maxed out on CPU, you might want to turn this off.
+#
+:rewrites_enabled: /yes/
+#:rewrites_enabled: /no/
+
+
+# --------- Do we copy incoming text into allmail.txt ? default is yes, but
+# --------- experienced users will probably set this to 'no' after testing
+# --------- their configuration for functionality.
+#
+#:log_to_allmail.txt: /yes/
+:log_to_allmail.txt: /no/
+
+# ------- Another logging option - log all mail to somewhere else
+# ------- entirely. Whatever pathname is given here will be prefixed
+# ------- by :fileprefix:
+# ------- To not use this, set it to the null string .. //
+# ------- Remember to backslash-escape path slashes!
+:log_all_mail_to_file: //
+#:log_all_mail_to_file: /my_personal_mail_log_file_name.txt/
+
+# --------- When we log messages, should we use a mail separator?
+# --------- And, if so, what?
+:mail_separator: /\n-=-=-=-=-=-=- cut here -=-=-=-=-=-=-\n/
+
+#
+# ---------- Message Cacheing for retraining - do we keep a cache of
+# ---------- messages we've classified recently "in the wild" as retrain
+# ---------- texts? This uses up some disk space, but means that we can
+# ---------- use mailtrainer.crm on these messages to autotune the classifier.
+# ---------- Default is to cache into the directory reaver_cache ;
+# ---------- if you don't want this, set it to // . If you don't use this,
+# ---------- you can't really use mailtrainer.crm, and you must keep your
+# ---------- headers scrupulously clean in all train messages. Recommended
+# ---------- to leave this unchanged unless you are VERY short of disk.
+#
+:text_cache: /reaver_cache/
+# :text_cache: //
+
+
+# ----- How do we invoke the trainer (as in, just the invocation
+# ------ of CRM114 on mailtrainer.crm. Usually this is just obvious,
+# ------- but if you don't have CRM114 installed in the search path, here's
+# -------- where you can set trainer invocation to be via whatever path
+# --------- you want it (the second example is if you haven't installed
+# ---------- CRM114 at all, but are running the crm114_tre static binary
+# ----------- right out of the local directory.)
+#
+# -- use this next one if you have installed CRM114 with "make install"
+# -- (This is preferred and is the default)
+:trainer_invoke_command: /.\/mailtrainer.crm/
+#
+# -- use this one if you can't do a "make install" and so must run the
+# --- crm114_tre binary directly out of the current working directory.
+# :trainer_invoke_command: /.\/crm114_tre mailtrainer.crm /
+
+
+# ------ If we're cacheing for retraining, we're probably using
+# ------ mailtrainer.crm or some other variant. In that case,
+# ------ you will want a "randomizer" to present the training
+# ------ examples to the classifier in some random but balanced order.
+# ------ You have two choices - you can either use the "sort"
+# ------ command on some random character in the filename (this
+# ------ is NOT recommended) or use the "shuffle.crm" program.
+# ------ We _strongly_ recommend using shuffle.crm; the default
+# ------ options to shuffle.crm will work fine. Alternatively,
+# ------ you can use the "sort --key 1.2" on date-named files to
+# ----- achieve chronological training
+:trainer_randomizer_command: /.\/shuffle.crm/
+#:trainer_randomizer_command: /.\/crm114 shuffle.crm/
+#:trainer_randomizer_command: /sort --key 1.2/
+
+
+# --------- Do we log rejected mail to a file? default yes, but most
+# --------- users should set this to no after testing their
+# --------- configuration to verify that rejected mail goes to the
+# --------- reject address. Only works in mailfilter.crm
+#
+#:log_rejections: /yes/
+:log_rejections: /no/
+
+# ------- alternate rejection logging - set this pathname to non-null
+# ------ to log rejections elsewhere. Only for mailreaver.crm.
+# ----- Set to NULL ( // ) to turn this off.
+:log_rejections_to_file: //
+#:log_rejections_to_file /this_is_my_rejected_email_log_file.txt/
+
+
+# ----------Do we want to enable "inoculation by email"?
+# --------(leave this off unless you want RFC inoculations)
+#
+:inoculations_enabled: /no/
+#:inoculations_enabled: /yes/
+
+
+# --------- How many characters of the input do we really trust to be
+# ---------- worthy of classification? Usually the first few thousand
+# ----------- bytes of the message tell more than enough (though we've
+# ------------ been "noticed" by spammers, who are now packing 4K of
+# ------------- innocuous text into their headers. No problemo... :) )
+#
+#:decision_length: /4096/
+:decision_length: /64000/
+#:decision_length: /16000/
+# ----- for entropy users ONLY - 4K is plenty!
+#:decision_length: /4096/
+
+
+
+# ------------ Do we want to expand URLs (that is, fetching the contents
+# ------------- of a URL and inserting that after the url itself?)
+# -------------- By default this is off, but turn it on if you want
+# --------------- to experiment.
+:expand_urls: /no/
+# :expand_urls: /yes/
+#
+# WGET options - 30-second timeout, output to stdout.
+# HACK - use the proper --user-agent="IEblahblah" for max effect!
+:url_fetch_cmd: /wget -T 30 -O - /
+# and trim the URL text to not more than 16bytes of text.
+:url_trim_cmd: / head -c 16000 /
+
+
+#######################################################################
+#
+# ------------------- YOU REALLY SHOULD STOP HERE -------------------
+# --------- values below this line are usually OK for almost all
+# --------- users to use unchanged - Gurus only beyond this point.
+#
+#######################################################################
+#
+# If you want to change things here, go ahead, but realize you are
+# playing with things that can really hurt accuracy.
+#
+# This being open source, if you don't *think* about changing it,
+# what would be the use of it being open source? That said, this
+# _is_ open source- you break it, you get to keep _both_ pieces!
+#
+#
+# ------------ CLF - The Classifier Flags ----------
+#
+# --------- Which classifier flags do we use? Default for 20060101 has
+# --------- been changed to OSB UNIQUE MICROGROOM.
+#
+# --------- A null setting gets you straight Markovian, without
+# --------- microgrooming. OSB uses less memory, is faster,
+# --------- and is usually more accurate. Correlative matching is
+# --------- 100x - 1000x slower, but can match anything (binaries,
+# --------- wide chars, unicode, virii, _anything_. Winnow is a
+# --------- non-statistical learning classificer with very nice
+# --------- accuracy (up to 2x SBPH). Hyperspace is a pseudogaussian
+# --------- KNN (K-nearest-neighbor) matcher.
+#
+# --------- This is also where we set whether to use microgrooming
+# --------- or Arne optimization (they're currently mutually exclusive).
+# --------- If you turn off microgrooming you get Arne optimization
+# --------- automatically.
+#
+# --------- If you _change_ this, you _must_ empty out your .css or
+# --------- .cow files and build fresh ones, because these
+# --------- classifiers do NOT use compatible data storage formats!
+#
+#:clf: /microgroom/
+#:clf: /osb/
+#:clf: /osb microgroom/
+:clf: /osb unique microgroom/
+#:clf: /correlate/
+#:clf: /winnow/
+#:clf: /osbf/
+#:clf: /osbf microgroom/
+#:clf: /hyperspace/
+#:clf: /hyperspace unique/
+#
+#
+#
+# --------Thresholds for GOOD/UNSURE/SPAM thick-threshold training
+# -------
+# ------ A very small thick threshold (or zero!) works for Markovian.
+# ----- A thick threshold of 5 to 20 seems good for OSB, OSBF,
+# ---- Hyperspace, Bit-Entropy, and Winnow. If you want an asymmetric
+# --- threshold system, you can do that by having :good_threshold:
+# -- be different from :spam_threshold:. The defaults are +/- 10.0
+#
+#
+# ---- Things rated equal to or better than this are GOOD email
+#:good_threshold: /0.01/
+:good_threshold: /5.0/
+#:good_threshold: /10.0/
+#:good_threshold: /20.0/
+#
+# ---- Things rated less than or equal to this are SPAM
+:spam_threshold: /-0.01/
+#:spam_threshold: /-5.0/
+#:spam_threshold: /-10.0/
+#:spam_threshold: /-20.0/
+
+# ---- mailfilter uses a single threshold and operates symmetrically.
+# --- (this is only to provide backward compatibility)
+:thick_threshold: /0.01/
+#:thick_threshold: /5.0/
+
+# ---- What regex do we use for LEARN/CLASSIFY? the first is the
+# ---- "old standard". Other ones are handy for different spam
+# ---- mixes. The last one is for people who get a great deal of
+# ---- packed HTML spam, which is almost everybody in 2003, so it
+# ---- used to be the default. But since spammers have shifted away
+# ---- from this, it isn't the default any longer. IF you change
+# ---- this, you MUST rebuild your .css files with decent
+# ---- amounts of locally-grown spam and nonspam ( if you've been
+# ---- following instructions and using the "reaver" cache, this is
+# ---- easily done! )
+#
+:lcr: /[[:graph:]]+/
+#:lcr: /[[:alnum:]]+/
+#:lcr: /[-.,:[:alnum:]]+/
+#:lcr: /[[:graph:]][-[:alnum:]]*[[:graph:]]?/
+#:lcr: /[[:graph:]][-.,:[:alnum:]]*[[:graph:]]?/
+#
+# this next one is pretty incomprehensible, and probably wrong...
+#:lcr: /[[:print:]][/!?\#]?[-[[:alnum:]][[:punct:]]]*(?:[*'=;]|/?>|:/*)?
+#
+#
+# Expansions for antispamming. You almost _always_ want these on,
+# unless you're debugging something really bizarre.
+
+# --------- Do we enable spammus interruptus undo?
+:undo_interruptus: /no/
+#:undo_interruptus: /yes/
+#
+#
+#
+# ------------ HIGHLY EXPERIMENTAL - automatic training!
+# enable this only if you really want to live VERY dangerously!
+# "Do you feel lucky today, punk? Well, do ya?"
+#
+:automatic_training: /no/
+#
+# ---- if you are living dangerously and have turned on autotraining,
+# you should also set the following to point to an address that
+# will get read on a quick basis, becuause this is where autotrain
+# verifications will go.
+#
+#:autotrain_address: /root/
+#
diff --git a/emacs b/emacs
new file mode 100644
index 0000000..af1c628
--- /dev/null
+++ b/emacs
@@ -0,0 +1,730 @@
+;-*- coding: utf-8 -*-
+;
+; anrxc's .emacs for GNU/Emacs 23.1 on Arch GNU/Linux.
+
+
+;{{{ Initialization
+;
+;; Define the load path
+(setq load-path (cons "~/.emacs.d/" load-path))
+
+;; Start the daemon, then use emacsclient as editor
+;(server-start)
+
+;; Turn off the toolbar
+(tool-bar-mode -1)
+;;
+;; Turn off the menu bar
+(menu-bar-mode -1)
+;;
+;; Turn off the scrollbar
+(scroll-bar-mode -1)
+;}}}
+
+
+
+;{{{ Look & Feel
+;
+;; Default font
+;; - problematic with new frames, also set in Xdefaults:
+;; Emacs.font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-2
+(set-default-font "-xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-2")
+
+
+;; Color theme initialization
+;; - http://emacswiki.org/cgi-bin/wiki/ColorTheme
+(require 'color-theme)
+(setq color-theme-is-global t)
+(color-theme-initialize)
+;;
+;; Load preferred theme
+;; - http://www.brockman.se/software/zenburn/zenburn.el
+(color-theme-zenburn)
+
+
+;; Don't show the welcome message
+(setq inhibit-startup-screen t)
+(setq initial-scratch-message nil)
+
+;; Shut off message buffer
+(setq message-log-max nil)
+(kill-buffer "*Messages*")
+
+;; Display time in the modeline
+;(display-time)
+;;
+;; Show column number in modeline
+(setq column-number-mode t)
+
+;; Modeline setup
+;; - somewhat cleaner than default
+(setq default-mode-line-format
+ '("-"
+ mode-line-mule-info
+ mode-line-modified
+ mode-line-frame-identification
+ mode-line-buffer-identification
+ " "
+ global-mode-string
+ " %[(" mode-name mode-line-process minor-mode-alist "%n"")%]--"
+ (line-number-mode "L%l--")
+ (column-number-mode "C%c--")
+ (-3 . "%p")
+ "-%-")
+)
+
+
+;; Syntax coloring (font-lock-mode)
+(global-font-lock-mode t)
+
+;; Always flash for parens and define a more distinctive color
+(show-paren-mode 1)
+(set-face-foreground 'show-paren-match-face "#bc8383")
+
+;; Answer y or n instead of yes or no at prompts
+(defalias 'yes-or-no-p 'y-or-n-p)
+
+;; Use ANSI colors within shell-mode
+(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
+;}}}
+
+
+
+;{{{ General settings
+;
+;; Provide a useful error trace if loading .emacs fails
+(setq debug-on-error t)
+
+;; Encoding
+(prefer-coding-system 'utf-8)
+(set-language-environment 'UTF-8)
+(setq locale-coding-system 'utf-8)
+(set-terminal-coding-system 'utf-8)
+(set-keyboard-coding-system 'utf-8)
+(set-selection-coding-system 'utf-8)
+
+;; Spell checking
+(setq-default ispell-program-name "aspell")
+(setq-default ispell-dictionary "en_US")
+
+;; Default Web Browser
+(setq browse-url-browser-function 'browse-url-firefox)
+
+;; Show unfinished keystrokes early
+(setq echo-keystrokes 0.1)
+
+;; Ignore case on completion
+(setq completion-ignore-case t
+ read-file-name-completion-ignore-case t)
+
+
+;; Save after a certain amount of time.
+(setq auto-save-timeout 1800)
+;;
+;; Change backup behavior to save in a specified directory
+(setq backup-directory-alist '(("." . "~/.emacs.d/saves/"))
+ backup-by-copying t
+ version-control t
+ delete-old-versions t
+ kept-new-versions 6
+ kept-old-versions 2
+)
+
+;; Keep bookmarks in the load path
+(setq bookmark-default-file "~/.emacs.d/emacs-bookmarks")
+
+;; Keep abbreviations in the load path
+(setq abbrev-file-name "~/.emacs.d/emacs-abbrev-defs")
+
+
+;; Default major mode
+(setq default-major-mode 'text-mode)
+;;
+;; Wrap lines at 70, for txt mode or,
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
+;(add-hook 'text-mode-hook 'longlines-mode)
+;; ...for all major modes
+;(setq-default auto-fill-function 'do-auto-fill)
+;;
+;; Text files end in new lines.
+(setq require-final-newline t)
+
+;; Narrowing enabled
+(put 'narrow-to-region 'disabled nil)
+
+
+;{{{ Mouse and cursor settings
+;
+;; Enable mouse scrolling
+(mouse-wheel-mode t)
+;;
+;; Fix mouse scrolling in GNU Screen
+(if window-system
+ (xterm-mouse-mode -1)
+ (xterm-mouse-mode 1)
+)
+
+;; Push the mouse out of the way on cursor approach
+(mouse-avoidance-mode 'jump)
+
+;; Stop cursor from blinking
+(blink-cursor-mode nil)
+
+;; Accelerate the cursor when scrolling
+(load "accel" t t)
+;;
+;; Start scrolling when 2 lines from top/bottom
+(setq scroll-margin 2)
+;;
+;; Fix the whole huge-jumps-scrolling-between-windows
+(setq scroll-conservatively 5)
+
+;; Cursor in same relative row and column during PgUP/DN
+(setq scroll-preserve-screen-position t)
+
+
+;; Always paste at the cursor
+(setq mouse-yank-at-point t)
+
+;; Kill (and paste) text from read-only buffers
+(setq kill-read-only-ok 1)
+
+;; Partially integrate the kill-ring and X cut-buffer
+'(x-select-enable-clipboard t)
+
+;; Copy/paste with accentuation intact
+(setq selection-coding-system 'compound-text-with-extensions)
+
+;; Delete selection on a key press
+(delete-selection-mode t)
+;}}}
+;}}}
+
+
+
+;{{{ Settings for various modes
+; - major modes for editing code and other formats are defined below
+;
+;; IDO (interactive buffer and file management)
+(require 'ido)
+(ido-mode t)
+(setq
+ ido-save-directory-list-file "~/.emacs.d/emacs-ido-last"
+ ;ido-work-directory-list '("~/" "~/Docs" "~/Work")
+ ido-ignore-buffers ; Ignore buffers:
+ '("\\` " "^\*Back" "^\*Compile-Log" ".*Completion" "^\*Ido")
+ ;ido-confirm-unique-completion t ; Wait for RET, even on unique
+ ido-everywhere t ; Enabled for various dialogs
+ ido-case-fold t ; Case-insensitive
+ ido-use-filename-at-point nil ; Don't use filename at point
+ ido-use-url-at-point nil ; Don't use url at point
+ ido-enable-flex-matching t ; More flexible
+ ido-max-prospects 6 ; Keep minibuffer clean
+)
+
+
+;; EasyPG assistant (GPG mode)
+(require 'epa)
+
+
+;; Tramp (remote files editing)
+(require 'tramp)
+(setq tramp-default-method "ssh")
+;; Disable version control to speed up things
+;(setq vc-handled-backends nil)
+
+
+;; SCPaste (scp pastebin)
+;; - http://www.emacswiki.org/cgi-bin/wiki/SCPaste
+(autoload 'scpaste "scpaste" "Paste the current buffer." t nil)
+
+
+;; Linum (line numbering)
+(require 'linum)
+;; - do not enable by default, breaks org-mode
+;(global-linum-mode)
+
+
+;; Folding
+;; - http://www.emacswiki.org/emacs/FoldIngo
+(require 'foldingo)
+
+
+;; Dired (directory management)
+(load "dired-x")
+(setq dired-dwim-target t)
+
+
+;; Ediff
+;;
+;; Don't spawn a new frame
+(setq ediff-window-setup-function 'ediff-setup-windows-plain)
+;;
+;; Split the frame horizontally
+;(setq ediff-split-window-function 'split-window-horizontally)
+
+
+;; Saveplace
+;; - places cursor in the last place you edited file
+(require 'saveplace)
+(setq-default save-place t)
+;; Keep places in the load path
+(setq save-place-file "~/.emacs.d/emacs-places")
+
+
+;; Icomplete
+;; - completion in the mini-buffer
+(icomplete-mode t)
+
+
+;; CUA mode
+;; - use C-c and C-v for copy and paste
+;(cua-mode t)
+;(setq cua-keep-region-after-copy t)
+
+
+;; Auto Compression
+;; - edit files in compressed archives (tar/jar/zip...)
+(auto-compression-mode 1)
+
+
+;; Speedbar settings
+(require 'speedbar)
+;;
+;; Additional extensions we are interested in
+(speedbar-add-supported-extension
+ '("PKGBUILD"
+ ".txt"
+ ".org"
+ ".pdf"
+ ".css"
+ ".php"
+ ".conf"
+ ".patch"
+ ".diff"
+ ".lua"
+ ".sh")
+)
+;}}}
+
+
+
+;{{{ Custom functions
+
+;{{{ Web search, browser defined earlier
+; - yubnub: a (social) commandline for the web
+;
+(defun aic-web-search ()
+ "Prompt for a web search query in the minibuffer."
+ (interactive)
+ (let ((search (read-from-minibuffer "Search: ")))
+ (browse-url (concat "http://www.yubnub.org/parser/parse?command=" search)))
+)
+;}}}
+
+;{{{ Timestamp function, for public config files
+; - date-stamp is more appropriate for txt files
+;
+(defun aic-dotfile-stamp ()
+ "Insert time stamp at point."
+ (interactive)
+ (insert "Updated on: " (format-time-string "%b %e, %H:%M:%S %Z %Y" nil nil))
+)
+(defun aic-txtfile-stamp ()
+ "Insert date at point."
+ (interactive)
+ (insert (format-time-string "%d.%m.%Y %H:%M"))
+)
+;}}}
+
+;{{{ Reload or edit .emacs on the fly
+; - key bindings defined below
+;
+(defun aic-reload-dot-emacs ()
+ "Reload user configuration from .emacs"
+ (interactive)
+ ;; Fails on killing the Messages buffer, workaround:
+ (get-buffer-create "*Messages*")
+ (load-file "~/.emacs")
+)
+(defun aic-edit-dot-emacs ()
+ "Edit user configuration in .emacs"
+ (interactive)
+ (find-file "~/.emacs")
+)
+;}}}
+
+;{{{ Quick access to ansi-term
+; - key binding defined below
+;
+(defun aic-visit-ansi-term ()
+ "If we are in an *ansi-term*, rename it.
+If *ansi-term* is running, switch the buffer.
+If there is no *ansi-term*, run it."
+ (interactive)
+ (if (equal "*ansi-term*" (buffer-name))
+ (call-interactively 'rename-buffer)
+ (if (get-buffer "*ansi-term*")
+ (switch-to-buffer "*ansi-term*")
+ (ansi-term "/bin/zsh")))
+)
+;}}}
+
+;{{{ Quick acces to coding functions
+; - I deal with utf8, latin-2 and cp1250
+;
+(defun aic-recode-buffer ()
+ "Define the coding system for a file."
+ (interactive)
+ (call-interactively 'set-buffer-file-coding-system)
+)
+(defun aic-encode-buffer ()
+ "Revisit the buffer with another coding system."
+ (interactive)
+ (call-interactively 'revert-buffer-with-coding-system)
+)
+;}}}
+
+;{{{ Kill all buffers except scratch
+;
+(defun aic-nuke-all-buffers ()
+ "Kill all buffers, leaving *scratch* only."
+ (interactive)
+ (mapcar (lambda (x) (kill-buffer x)) (buffer-list))
+ (delete-other-windows)
+)
+;}}}
+
+;{{{ Quick access to OrgMode and the OrgMode agenda
+; - org-mode configuration defined below
+;
+(defun aic-org-index ()
+ "Show the main org file."
+ (interactive)
+ (find-file "~/.org/index.org")
+)
+(defun aic-org-agenda ()
+ "Show the org-mode agenda."
+ (interactive)
+ ;; To be used with a keybinding (see below)
+ (call-interactively 'org-agenda-list)
+)
+;}}}
+
+;{{{ Alias some custom functions
+;
+(defalias 'search-web 'aic-web-search)
+(defalias 'stamp 'aic-dotfile-stamp)
+(defalias 'date-stamp 'aic-txtfile-stamp)
+(defalias 'recode-buffer 'aic-recode-buffer)
+(defalias 'encode-buffer 'aic-encode-buffer)
+(defalias 'nuke 'aic-nuke-all-buffers)
+(defalias 'org 'aic-org-index)
+;}}}
+
+;{{{ Shortcut a few commonly used functions
+;
+(defalias 'cr 'comment-region)
+(defalias 'ucr 'uncomment-region)
+(defalias 'eb 'eval-buffer)
+(defalias 'er 'eval-region)
+(defalias 'ee 'eval-expression)
+(defalias 'day 'color-theme-vim-colors)
+(defalias 'night 'color-theme-zenburn)
+(defalias 'fold 'fold-enter-fold-mode-close-all-folds)
+;}}}
+;}}}
+
+
+
+;{{{ Key bindings
+; - with switched Caps_Lock and Control_L keys system wide
+
+;{{{ Main bindings
+;
+;; M-x without Alt
+(global-set-key "\C-x\C-m" 'execute-extended-command)
+(global-set-key "\C-c\C-m" 'execute-extended-command)
+
+;; C-w to backward kill for compatibility (and ease of use)
+(global-set-key "\C-w" 'backward-kill-word)
+;; ...and then provide alternative for cutting
+(global-set-key "\C-x\C-k" 'kill-region)
+(global-set-key "\C-c\C-k" 'kill-region)
+
+;; Change C-x C-b behavior (buffer management)
+;(global-set-key "\C-x\C-b" 'bs-show)
+;(global-set-key "\C-x\C-b" 'ibuffer)
+(global-set-key "\C-x\C-b" 'electric-buffer-list)
+
+;; Alternative to C-x o, as in Mozilla
+(global-set-key [(control tab)] 'other-window)
+
+;; Reload or edit .emacs as defined above
+(global-set-key "\C-c\C-r" 'aic-reload-dot-emacs)
+(global-set-key "\C-c\C-e" 'aic-edit-dot-emacs)
+
+;; Toggle soft word wrapping
+(global-set-key "\C-cw" 'toggle-truncate-lines)
+
+;; Quick access to the speedbar
+(global-set-key "\C-cs" 'speedbar-get-focus)
+
+;; org-mode bindings for quick access (see below)
+(global-set-key "\C-cl" 'org-store-link)
+(global-set-key "\C-ca" 'org-agenda)
+(global-set-key "\C-cr" 'org-remember)
+
+;; Quicker access to go-to line
+(global-set-key (kbd "M-g") 'goto-line)
+
+;; Menu bar toggle, as in my vimperator setup
+(global-set-key (kbd "<M-down>") 'menu-bar-mode)
+
+;; Jump to the start/end of the document with C-PgUP/DN
+(global-set-key [C-prior] (lambda()(interactive)(goto-char (point-min))))
+(global-set-key [C-next] (lambda()(interactive)(goto-char (point-max))))
+
+;; Avoid accidental scrolling
+(global-set-key (kbd "<Scroll_Lock>") '(lambda () (interactive) nil))
+
+;; Disable C-z on X11 sessions
+(when window-system
+ (global-unset-key "\C-z")
+)
+
+;; Require C-x C-c prompt. So you can't shut it off by accident
+(global-set-key [(control x) (control c)]
+ (function
+ (lambda () (interactive)
+ (cond ((y-or-n-p "Quit? ")
+ (save-buffers-kill-emacs)))))
+)
+;}}}
+
+;{{{ Fn bindings
+;
+;; Invoke manual for word under the cursor
+(global-set-key [f1] (lambda () (interactive) (manual-entry (current-word))))
+(global-set-key [f2] (lambda () (interactive) (find-file "~/.org/notes.org")))
+(global-set-key [f3] 'aic-org-agenda) ; Function defined previously
+(global-set-key [f4] 'aic-visit-ansi-term) ; Function defined previously
+;(global-set-key [f5] 'aic-fold-toggle-fold) ; Todo: Toggle all folds
+(global-set-key [f6] 'linum-mode) ; Toggle line numbering
+(global-set-key [f7] 'htmlize-buffer)
+(global-set-key [f8] 'ispell-buffer)
+(global-set-key [f9] 'ispell-change-dictionary) ; Switching 'en_US' and 'hr' often
+;(global-set-key [f10] ; Quick menu by default
+(global-set-key [f11] 'speedbar)
+(global-set-key [f12] 'kill-buffer)
+;}}}
+;}}}
+
+
+;{{{ OrgMode
+; - http://www.emacswiki.org/emacs/OrgMode
+;
+;; Initialization
+(add-to-list 'load-path "~/.emacs.d/org/lisp")
+(require 'org-install)
+;;
+;; Extended mouse functionality
+(load "~/.emacs.d/org/lisp/org-mouse.el")
+
+;; Settings
+(setq org-directory "~/.org/")
+(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
+;; Misc
+(setq org-log-done t)
+(setq org-completion-use-ido t)
+(setq org-return-follows-link t)
+(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
+
+;; Pass mailto links to Alpine instead of browse-url
+(setq org-link-mailto-program
+ '(shell-command "urxvt -title Alpine -e alpine -url 'mailto:%a?Subject=%s'")
+)
+
+;; Files that are included in org-mode agenda
+(setq org-agenda-files
+ (list "~/.org/index.org" "~/.org/work.org" "~/.org/personal.org" "~/.org/computers.org")
+)
+
+;; Finally, connect org-mode with remember
+(org-remember-insinuate)
+;}}}
+
+
+
+;{{{ Remember mode
+; - connected with org-mode
+;
+;; Initialization
+(require 'remember)
+
+;; Notes file
+(setq org-default-notes-file (concat org-directory "/notes.org"))
+;
+;; Templates for Notes
+(setq org-remember-templates
+ '(("Note" ?n "* NOTE %?\n%i\n%a" "~/.org/notes.org" "Notes")
+ ("Download" ?d "* DL %?\n%i\n%a" "~/.org/notes.org" "Download")
+ ("Login" ?l "* LOGIN %?\n%i\n%a" "~/.org/notes.org" "Logins")
+ ("Music" ?m "* MUSIC %?\n%i\n%a" "~/.org/notes.org" "Music")
+ ("Idea" ?i "* %^{Title}\n%i\n%a" "~/.org/notes.org" "Brainstorm")
+ ("Clipboard" ?c "* %^{Description} %T\n%x" "~/.org/notes.org" "Clipboard"))
+)
+
+;; Remember frames
+;; - capture a note from any desktop/tag with a small emacs frame
+;; - call: emacsclient -e '(make-remember-frame)'
+;;
+;; Org-remember splits windows, force it to a single window
+(add-hook 'remember-mode-hook 'delete-other-windows)
+
+;; Automatic closing of remember frames
+(defadvice remember-finalize (after delete-remember-frame activate)
+ "Advise remember-finalize to close the frame if it is the remember frame"
+ (if (equal "*Remember*" (frame-parameter nil 'name))
+ (delete-frame))
+)
+(defadvice remember-destroy (after delete-remember-frame activate)
+ "Advise remember-destroy to close the frame if it is the remember frame"
+ (if (equal "*Remember*" (frame-parameter nil 'name))
+ (delete-frame))
+)
+
+;; Initialization of remember frames
+(defun make-remember-frame ()
+ "Create a new frame and run org-remember"
+ (interactive)
+ (make-frame '((name . "*Remember*") (width . 80) (height . 10)))
+ (select-frame-by-name "*Remember*")
+ (org-remember)
+)
+;}}}
+
+
+
+;{{{ Calendar settings
+; - for me only important in the context of org-mode
+;
+(setq
+ holidays-in-diary-buffer t
+ mark-holidays-in-calendar t
+ all-christian-calendar-holidays t
+ all-islamic-calendar-holidays nil
+ all-hebrew-calendar-holidays nil
+ european-calendar-style t
+ ;display-time-24hr-format t
+ display-time-day-and-date nil
+ ;display-time-format nil
+ ;display-time-use-mail-icon nil
+ calendar-latitude 45.21
+ calendar-longitude 14.26
+ calendar-location-name "Rijeka, Croatia"
+)
+;}}}
+
+
+
+;{{{ Major modes for editing code and other formats
+
+;{{{ Custom modes for some custom files
+;
+;; Shell script mode for Arch PKGBUILDs
+(setq auto-mode-alist (cons '("\\PKGBUILD$" . sh-mode) auto-mode-alist))
+;;
+;; Conf mode for personal config files
+(when (locate-library "conf-mode")
+ (autoload 'conf-mode "conf-mode" "Major-mode for editing config files." t)
+ (add-to-list 'auto-mode-alist '("\\awesomerc$" . conf-mode))
+ (add-to-list 'auto-mode-alist '("\\gitconfig$" . conf-mode))
+ (add-to-list 'auto-mode-alist '("\\pinerc$" . conf-mode))
+ (add-to-list 'auto-mode-alist '("\\screenrc$" . conf-mode))
+)
+;}}}
+
+;{{{ Python mode
+; - switched from sf.net py-mode to python-mode distributed with Emacs
+;
+;; ipython is my shell of choice, glad to have it here
+(defcustom python-python-command "ipython -cl"
+ "Shell command to run Python interpreter."
+ :group 'python
+ :type 'string
+)
+;}}}
+
+;{{{ PHP mode
+; - http://www.ontosys.com/src/php-mode.el
+;
+(autoload 'php-mode "php-mode" "PHP editing mode" t)
+(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
+;}}}
+
+;{{{ Fvwm mode
+; - http://www.lair.be/projects_fvwm-mode.php
+;
+(setq fvwm-fvwmcommand-path "/usr/bin/FvwmCommand")
+(require 'fvwm-mode)
+(autoload 'fvwm-mode "fvwm-mode" "Mode for editing fvwm files" t)
+(add-to-list 'auto-mode-alist '("\\.fvwm2rc$\\|\\.fvwmrc$" . fvwm-mode))
+;}}}
+
+;{{{ Lua mode
+; - http://lua-mode.luaforge.net/
+;
+(autoload 'lua-mode "lua-mode" "Major-mode for editing lua scripts." t)
+(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist))
+;}}}
+
+;{{{ Crontab mode
+; - http://www.mahalito.net/~harley/elisp/crontab-mode.el
+;
+(autoload 'crontab-mode "~/.emacs.d/crontab-mode.el" "Major mode for editing the crontab" t)
+(add-to-list 'auto-mode-alist '("cron\\(tab\\)?\\." . crontab-mode))
+;}}}
+
+;{{{ Post mode
+; - http://post-mode.sourceforge.net/
+;
+(autoload 'post-mode "~/.emacs.d/post.el" "Major mode for editing e-mail and journal articles" t)
+(add-to-list 'auto-mode-alist
+ '("\\.*mutt-*\\|\\.*pico.*\\|.article\\|\\.*200\\(T\\)?\\|\\.followup" . post-mode))
+;}}}
+
+;{{{ Undoc mode
+; - http://www.ccs.neu.edu/home/guttman/undoc.el
+;
+(autoload 'undoc "~/.emacs.d/undoc.el" "A minor mode which kills MS Word files dead." t)
+(autoload 'undoc-current-buffer "undoc" "" t)
+(autoload 'undoc-region-after-mime-decode "undoc" "" t)
+;}}}
+
+;{{{ Htmlize mode
+; - http://www.emacswiki.org/emacs/Htmlize
+;
+(load "~/.emacs.d/htmlize.el")
+(setq htmlize-convert-nonascii-to-entities nil)
+(setq htmlize-html-charset "utf-8")
+;}}}
+;}}}
+
+
+
+;{{{ Custom
+;
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+)
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
+;}}}
diff --git a/etwolf/etconfig.cfg b/etwolf/etconfig.cfg
new file mode 100644
index 0000000..b24f7fc
--- /dev/null
+++ b/etwolf/etconfig.cfg
@@ -0,0 +1,551 @@
+// Tweaked for maximum performance while trying
+// to stay within rules for most public servers.
+unbindall
+bind TAB "+scores"
+bind ESCAPE "togglemenu"
+bind SPACE "+moveup"
+bind , "playdead"
+bind - "zoomout"
+bind . "kill"
+bind 0 "weaponbank 10"
+bind 1 "weaponbank 1"
+bind 2 "weaponbank 2"
+bind 3 "weaponbank 3"
+bind 4 "weaponbank 4"
+bind 5 "weaponbank 5"
+bind 6 "weaponbank 6"
+bind 7 "weaponbank 7"
+bind 8 "weaponbank 8"
+bind 9 "weaponbank 9"
+bind = "zoomin"
+bind ` "toggleconsole"
+bind a "+moveleft"
+bind b "+zoom"
+bind c "vstr crouchtoggle"
+bind d "+moveright"
+bind e "+leanright"
+bind f "+activate"
+bind g "+mapexpand"
+bind l "openlimbomenu"
+bind m "mvactivate"
+bind q "+leanleft"
+bind r "+reload"
+bind s "+back"
+bind t "messagemode"
+bind u "messagemode3"
+bind v "mp_quickmessage"
+bind w "+forward"
+bind x "+prone"
+bind y "messagemode2"
+bind z "mp_fireteammsg"
+bind ~ "toggleconsole"
+bind CAPSLOCK "+speed"
+bind ALT "+stats"
+bind CTRL "+topshots"
+bind SHIFT "+sprint"
+bind F1 "vote yes"
+bind F2 "vote no"
+bind F3 "ready"
+bind F4 "notready"
+bind F11 "autoscreenshot"
+bind F12 "autorecord"
+bind i "vsay_team FTHealMe"
+bind o "vsay_team FTReviveMe"
+bind p "vsay_team FTResupplyMe"
+bind KP_HOME "vsay_team OnOffense"
+bind KP_PGUP "vsay_team OnDefense"
+bind KP_UPARROW "vsay_team TakingFire"
+bind KP_RIGHTARROW "vsay_team ReinforceDefense"
+bind KP_LEFTARROW "vsay_team ReinforceOffense"
+bind KP_5 "vsay_team NeedBackup"
+bind KP_END "vsay_team DestroyPrimary"
+bind KP_DOWNARROW "vsay_team CoverMe"
+bind KP_PGDN "vsay_team DestroySecondary"
+bind KP_ENTER "mp_fireteamadmin"
+bind MOUSE1 "+attack"
+bind MOUSE2 "weapalt"
+bind MOUSE3 "+vstr Medrev1 Medrev2"
+bind MWHEELDOWN "weapprev"
+bind MWHEELUP "weapnext"
+seta URL ""
+seta b_altHud "0"
+seta b_altHudFlags "0"
+seta b_antilag "1"
+seta b_backupcvars "1"
+seta b_chatAlpha "0.33"
+seta b_chatFlags "1"
+seta b_chatsounds "0"
+seta b_cmdwarnings "1"
+seta b_debugfakebmodel "0"
+seta b_demo_autotimescale "1"
+seta b_demo_autotimescaleweapons "0"
+seta b_demo_dynamitecam "0"
+seta b_demo_dynamitecounter "0"
+seta b_demo_followxDistance "50"
+seta b_demo_followyDistance "0"
+seta b_demo_followzDistance "20"
+seta b_demo_freecamspeed "800"
+seta b_demo_grenadecam "0"
+seta b_demo_mortarcam "0"
+seta b_demo_nametags "0"
+seta b_demo_nopitch "1"
+seta b_demo_panzercam "0"
+seta b_demo_pitchturnspeed "140"
+seta b_demo_playersprites "1"
+seta b_demo_pvshint "0"
+seta b_demo_rollspeed "140"
+seta b_demo_teamonlymissilecam "0"
+seta b_demo_yawturnspeed "140"
+seta b_demorecord_statusline "470"
+seta b_descriptiveTextscale "0.8"
+seta b_drawPromotions "1"
+seta b_drawRewards "1"
+seta b_drawclock "0"
+seta b_drawranks "1"
+seta b_drawspectatoralpha "1.0"
+seta b_drawspectatorteamflags "1"
+seta b_drawspeed "0"
+seta b_fireteamAlpha "1.0"
+seta b_goatsound "1"
+seta b_hitsounds "0"
+seta b_hudYoffset "10.0"
+seta b_lagometerAlpha "1.0"
+seta b_locationMode "0"
+seta b_logbanners "1"
+seta b_mapzoom "5.159"
+seta b_muzzleflash "1"
+seta b_noactivatelean "0"
+seta b_numPopups "-1"
+seta b_optimizePrediction "1"
+seta b_panzerhack "1"
+seta b_popupFadeTime "2500"
+seta b_popupStayTime "2000"
+seta b_popupTime "1000"
+seta b_predefineddemokeys "1"
+seta b_shovesounds "1"
+seta b_simpleItems "0"
+seta b_speedinterval "100"
+seta b_speedunit "0"
+seta b_textcolorfilter ""
+seta b_tjg_ghostfx "2"
+seta b_tjl_color "green"
+seta b_tjl_draw "1"
+seta b_tjl_showmaxspeed "0"
+seta b_tjl_stepsize "0.5"
+seta b_tjl_stoponnomove "1"
+seta b_tracers "1"
+seta b_votetextscale "0.8"
+seta b_watermarkAlpha "1"
+seta b_weapaltReloads "1"
+seta bot_enable "0"
+seta bot_minplayers "0"
+seta cf_wstats "1.2"
+seta cf_wtopshots "1.0"
+seta cg_announcer "1"
+seta cg_atmosphericEffects "0"
+seta cg_autoAction "0"
+seta cg_autoReload "0"
+seta cg_autoactivate "1"
+seta cg_autoswitch "0"
+seta cg_blinktime "100"
+seta cg_bloodDamageBlend "0"
+seta cg_bloodFlash "0"
+seta cg_bloodTime "120"
+seta cg_bobpitch "0.000"
+seta cg_bobroll "0.000"
+seta cg_bobup "0.000"
+seta cg_bobyaw "0.002"
+seta cg_brassTime "0"
+seta cg_cameraOrbitDelay "50"
+seta cg_complaintPopUp "0"
+seta cg_coronafardist "1536"
+seta cg_coronas "1"
+seta cg_crosshairAlpha "1.0"
+seta cg_crosshairAlphaAlt "1.0"
+seta cg_crosshairColor "0xa0c0ff"
+seta cg_crosshairColorAlt "red"
+seta cg_crosshairHealth "0"
+seta cg_crosshairPulse "0"
+seta cg_crosshairSize "32"
+seta cg_crosshairX "0"
+seta cg_crosshairY "0"
+seta cg_cursorHints "1"
+seta cg_cycleAllWeaps "1"
+seta cg_deferPlayers "1"
+seta cg_descriptiveText "1"
+seta cg_draw2D "1"
+seta cg_drawBuddies "1"
+seta cg_drawCompass "1"
+seta cg_drawCrosshair "3"
+seta cg_drawCrosshairNames "2"
+seta cg_drawCrosshairPickups "1"
+seta cg_drawFPS "1"
+seta cg_drawFireteamOverlay "1"
+seta cg_drawGun "1"
+seta cg_drawNotifyText "1"
+seta cg_drawReinforcementTime "1"
+seta cg_drawRoundTimer "1"
+seta cg_drawSmallPopupIcons "0"
+seta cg_drawSnapshot "0"
+seta cg_drawSpreadScale "1"
+seta cg_drawStatus "1"
+seta cg_drawTeamOverlay "2"
+seta cg_drawWeaponIconFlash "0"
+seta cg_fastSolids "1"
+seta cg_fov "112"
+seta cg_gibs "0"
+seta cg_instanttapout "0"
+seta cg_lagometer "0"
+seta cg_marktime "0"
+seta cg_noAmmoAutoSwitch "1"
+seta cg_noTaunt "0"
+seta cg_noVoiceChats "0"
+seta cg_noVoiceText "0"
+seta cg_popupLimboMenu "1"
+seta cg_predictItems "1"
+seta cg_printObjectiveInfo "1"
+seta cg_quickMessageAlt "1"
+seta cg_railTrailTime "400"
+seta cg_runpitch "0.002"
+seta cg_runroll "0.005"
+seta cg_selectedPlayer "1"
+seta cg_selectedPlayerName "Subutex"
+seta cg_shadows "0"
+seta cg_showblood "0"
+seta cg_simpleitems "1"
+seta cg_specHelp "1"
+seta cg_specSwing "1"
+seta cg_stereoSeparation "0.4"
+seta cg_teamChatHeight "8"
+seta cg_teamChatTime "8000"
+seta cg_teamChatsOnly "0"
+seta cg_useScreenshotJPEG "1"
+seta cg_useWeapsForZoom "1"
+seta cg_viewsize "100"
+seta cg_voiceSpriteTime "6000"
+seta cg_weaponCycleDelay "150"
+seta cg_wolfparticles "0"
+seta cg_zoomDefaultBinoc "22.5"
+seta cg_zoomDefaultFG "55"
+seta cg_zoomDefaultSniper "20"
+seta cg_zoomDefaultSnooper "40"
+seta cg_zoomStepBinoc "3"
+seta cg_zoomStepFG "10"
+seta cg_zoomStepSnooper "5"
+seta cg_zoomfov "22.5"
+seta cg_zoomstepsniper "2"
+seta cl_allowDownload "1"
+seta cl_anonymous "0"
+seta cl_autoupdate "1"
+seta cl_doubletapdelay "350"
+seta cl_freelook "1"
+seta cl_language "0"
+seta cl_lastVersioncgame "ET 2.60 linux-i386 Mar 10 2005"
+seta cl_lastVersionui "ET 2.60 linux-i386 Mar 10 2005"
+seta cl_maxPing "800"
+seta cl_maxpackets "40"
+seta cl_mouseAccel "0"
+seta cl_packetdup "1"
+seta cl_pitchspeed "140"
+seta cl_punkbuster "1"
+seta cl_run "1"
+seta cl_timeNudge "0"
+seta cl_wwwDownload "1"
+seta cl_yawspeed "140"
+seta cm_playerCurveClip "1"
+seta com_hunkMegs "256"
+seta com_introplayed "0"
+seta com_maxfps "76"
+seta com_recommended "1"
+seta com_recommendedSet "1"
+seta com_soundMegs "8"
+seta com_watchdog "60"
+seta com_watchdog_cmd ""
+seta com_zoneMegs "24"
+seta con_autoclear "1"
+seta con_debug "0"
+seta demo_avifpsF1 "0"
+seta demo_avifpsF2 "10"
+seta demo_avifpsF3 "15"
+seta demo_avifpsF4 "20"
+seta demo_avifpsF5 "24"
+seta demo_drawTimeScale "1"
+seta demo_infoWindow "1"
+seta fraglimit "0"
+seta g_altStopwatchMode "0"
+seta g_antilag "1"
+seta g_autoFireteams "1"
+seta g_banIPs ""
+seta g_complaintlimit "6"
+seta g_disableComplaints "0"
+seta g_doWarmup "0"
+seta g_enforcemaxlives "1"
+seta g_fastResMsec "1000"
+seta g_fastres "0"
+seta g_filterBan "1"
+seta g_filtercams "0"
+seta g_friendlyFire "1"
+seta g_heavyWeaponRestriction "100"
+seta g_inactivity "0"
+seta g_ipcomplaintlimit "3"
+seta g_landminetimeout "1"
+seta g_lms_followTeamOnly "1"
+seta g_lms_lockTeams "0"
+seta g_lms_matchlimit "2"
+seta g_lms_roundlimit "3"
+seta g_lms_teamForceBalance "1"
+seta g_log ""
+seta g_logSync "0"
+seta g_maxGameClients "0"
+seta g_maxlives "0"
+seta g_maxlivesRespawnPenalty "0"
+seta g_motd ""
+seta g_noTeamSwitching "0"
+seta g_spAwards ""
+seta g_spScores1 ""
+seta g_spScores2 ""
+seta g_spScores3 ""
+seta g_spScores4 ""
+seta g_spScores5 ""
+seta g_spSkill "2"
+seta g_spVideos ""
+seta g_spectatorInactivity "0"
+seta g_teamForceBalance "0"
+seta g_voiceChatsAllowed "4"
+seta g_warmup "60"
+seta in_dgamouse "0"
+seta in_joystick "0"
+seta in_mouse "1"
+seta in_subframe "1"
+seta joy_threshold "0.15"
+seta m_filter "1"
+seta m_forward "0.25"
+seta m_pitch "0.016"
+seta m_side "0.25"
+seta m_yaw "0.022"
+seta match_latejoin "1"
+seta match_minplayers "4"
+seta match_mutespecs "0"
+seta match_readypercent "100"
+seta match_timeoutcount "3"
+seta match_timeoutlength "180"
+seta match_warmupDamage "1"
+seta mv_sensitivity "20"
+seta name "^cSubutex"
+seta noderadius "10"
+seta r_allowExtensions "1" unsafe
+seta r_ati_fsaa_samples "1" unsafe
+seta r_ati_truform_normalmode "GL_PN_TRIANGLES_NORMAL_MODE_LINEAR" unsafe
+seta r_ati_truform_pointmode "GL_PN_TRIANGLES_POINT_MODE_LINEAR" unsafe
+seta r_ati_truform_tess "1" unsafe
+seta r_clampToEdge "1" unsafe
+seta r_colorbits "16" unsafe
+seta r_customaspect "1"
+seta r_customheight "640"
+seta r_customwidth "480"
+seta r_depthbits "16" unsafe
+seta r_detailtextures "0"
+seta r_dlightBacks "1"
+seta r_drawSun "0"
+seta r_dynamiclight "0"
+seta r_dynamiclights "0"
+seta r_ext_ATI_pntriangles "0" unsafe
+seta r_ext_NV_fog_dist "0" unsafe
+seta r_ext_compiled_vertex_array "1" unsafe
+seta r_ext_compressed_textures "1" unsafe
+seta r_ext_gamma_control "1" unsafe
+seta r_ext_multitexture "1" unsafe
+seta r_ext_texture_env_add "0" unsafe
+seta r_ext_texture_filter_anisotropic "0" unsafe
+seta r_facePlaneCull "1"
+seta r_fastsky "1"
+seta r_finish "0"
+seta r_flares "0"
+seta r_fullscreen "1"
+seta r_gamma "2.000000"
+seta r_glDriver "libGL.so.1" unsafe
+seta r_glIgnoreWicked3D "0" unsafe
+seta r_highQualityVideo "1"
+seta r_ignoreFastPath "0"
+seta r_ignoreGLErrors "1"
+seta r_ignorehwgamma "1"
+seta r_inGameVideo "0"
+seta r_intensity "1.5"
+seta r_lastValidRenderer "Mesa DRI Intel(R) 965GM 4.1.3002 x86/MMX/SSE2"
+seta r_lodCurveError "250"
+seta r_lodbias "2"
+seta r_mapoverBrightBits "3"
+seta r_mode "3" unsafe
+seta r_normallength "0.5"
+seta r_nv_fogdist_mode "GL_EYE_RADIAL_NV" unsafe
+seta r_oldMode ""
+seta r_overBrightBits "3"
+seta r_picmip "5"
+seta r_picmip2 "2"
+seta r_primitives "0"
+seta r_railCoreWidth "1"
+seta r_railSegmentLength "32"
+seta r_railWidth "16"
+seta r_rmse "0"
+seta r_roundImagesDown "1"
+seta r_simpleMipMaps "1"
+seta r_smp "0" unsafe
+seta r_stencilbits "0" unsafe
+seta r_stereo "0" unsafe
+seta r_subdivisions "19"
+seta r_swapInterval "0"
+seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"
+seta r_texturebits "16" unsafe
+seta r_trisColor "1.0 1.0 1.0 1.0"
+seta r_uifullscreen "1"
+seta r_vertexlight "1"
+seta rate "15000"
+seta refereePassword "none"
+seta s_defaultsound "0"
+seta s_doppler "1"
+seta s_khz "11"
+seta s_mixPreStep "0.05"
+seta s_mixahead "0.14"
+seta s_musicvolume "0"
+seta s_separation "0.5"
+seta s_volume "0.791667"
+seta s_wavonly "0"
+seta sensitivity "4.000000"
+seta server1 ""
+seta server10 ""
+seta server11 ""
+seta server12 ""
+seta server13 ""
+seta server14 ""
+seta server15 ""
+seta server16 ""
+seta server2 ""
+seta server3 ""
+seta server4 ""
+seta server5 ""
+seta server6 ""
+seta server7 ""
+seta server8 ""
+seta server9 ""
+seta server_autoconfig "0"
+seta server_motd0 " ^NEnemy Territory ^7MOTD "
+seta server_motd1 ""
+seta server_motd2 ""
+seta server_motd3 ""
+seta server_motd4 ""
+seta server_motd5 ""
+seta snaps "40"
+seta sndbits "16"
+seta sndchannels "2"
+seta snddevice "/dev/dsp"
+seta sndspeed "0"
+seta sv_allowDownload "1"
+seta sv_dl_maxRate "42000"
+seta sv_floodProtect "1"
+seta sv_hostname "katana"
+seta sv_lanForceRate "1"
+seta sv_master2 ""
+seta sv_master3 ""
+seta sv_master4 ""
+seta sv_master5 ""
+seta sv_maxPing "0"
+seta sv_maxRate "0"
+seta sv_maxclients "20"
+seta sv_minPing "0"
+seta sv_minguidage "0"
+seta sv_punkbuster "0"
+seta sv_wwwBaseURL ""
+seta sv_wwwDlDisconnected "0"
+seta sv_wwwDownload "0"
+seta sv_wwwFallbackURL ""
+seta team_maxPanzers "-1"
+seta team_maxplayers "0"
+seta team_nocontrols "0"
+seta timelimit "20"
+seta ui_bigFont "0.4"
+seta ui_browserGameType "0"
+seta ui_browserMaster "0"
+seta ui_browserShowAntilag "0"
+seta ui_browserShowETPro "0"
+seta ui_browserShowEmptyOrFull "2"
+seta ui_browserShowFriendlyFire "0"
+seta ui_browserShowMaxlives "2"
+seta ui_browserShowPasswordProtected "2"
+seta ui_browserShowPunkBuster "0"
+seta ui_browserShowTeamBalanced "0"
+seta ui_browserShowWeaponsRestricted "0"
+seta ui_browserSortKey "4"
+seta ui_campaignIndex "0"
+seta ui_ctf_capturelimit "8"
+seta ui_ctf_friendly "0"
+seta ui_ctf_timelimit "30"
+seta ui_currentCampaign "0"
+seta ui_currentCampaignCompleted "0"
+seta ui_currentMap "0"
+seta ui_currentNetCampaign "0"
+seta ui_currentNetMap "0"
+seta ui_dedicated "0"
+seta ui_ffa_fraglimit "20"
+seta ui_ffa_timelimit "0"
+seta ui_gametype "3"
+seta ui_glCustom "4"
+seta ui_handedness ""
+seta ui_joinGametype "-1"
+seta ui_mapIndex "0"
+seta ui_master "0"
+seta ui_menuFiles "ui/menus.txt"
+seta ui_netGametype "4"
+seta ui_netSource "1"
+seta ui_profile_mousePitch ""
+seta ui_r_colorbits "16"
+seta ui_r_depthbits "16"
+seta ui_r_detailtextures "0"
+seta ui_r_dynamiclight "0"
+seta ui_r_ext_compressed_textures "1"
+seta ui_r_gamma "2.000000"
+seta ui_r_lodbias "2"
+seta ui_r_mode "3"
+seta ui_r_picmip "5"
+seta ui_r_subdivisions "19"
+seta ui_r_texturebits "16"
+seta ui_r_texturemode "GL_LINEAR_MIPMAP_NEAREST"
+seta ui_rate "15000"
+seta ui_sensitivity "4.000000"
+seta ui_serverStatusTimeOut "7000"
+seta ui_showtooltips "1"
+seta ui_smallFont "0.25"
+seta ui_teamArenaFirstRun "1"
+seta ui_team_fraglimit "0"
+seta ui_team_friendly "1"
+seta ui_team_timelimit "20"
+seta vm_cgame "0"
+seta vm_game "0"
+seta vm_ui "0"
+seta vote_allow_antilag "1"
+seta vote_allow_comp "1"
+seta vote_allow_friendlyfire "1"
+seta vote_allow_gametype "1"
+seta vote_allow_kick "1"
+seta vote_allow_map "1"
+seta vote_allow_mutespecs "1"
+seta vote_allow_muting "1"
+seta vote_allow_nextmap "1"
+seta vote_allow_pub "1"
+seta vote_allow_referee "0"
+seta vote_allow_shuffleteamsxp "1"
+seta vote_allow_swapteams "1"
+seta vote_allow_timelimit "0"
+seta vote_allow_warmupdamage "1"
+seta vote_limit "5"
+seta vote_percent "50"
+
+// scroll klick, automatic revive
+//set Medrev1 "weaponbank 5"
+//set Medrev2 "+attack; wait 90; -attack; weaplastused"
+//bind mouse3 "+vstr Medrev1 Medrev2"
+
+// stay crouched
+bind C "vstr crouchtoggle"
+set crouch "+movedown;set crouchtoggle vstr standup"
+set standup "-movedown;set crouchtoggle vstr crouch"
+set crouchtoggle "vstr crouch"
diff --git a/fonts.conf b/fonts.conf
new file mode 100644
index 0000000..4fcbf8e
--- /dev/null
+++ b/fonts.conf
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="font" >
+ <edit mode="assign" name="rgba" >
+ <const>rgb</const>
+ </edit>
+ </match>
+ <match target="font" >
+ <edit mode="assign" name="hinting" >
+ <bool>true</bool>
+ </edit>
+ </match>
+ <match target="font" >
+ <edit mode="assign" name="hintstyle" >
+ <const>hintfull</const>
+ </edit>
+ </match>
+ <match target="font" >
+ <edit mode="assign" name="antialias" >
+ <bool>true</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>ProggyCleanTT</string>
+ </test>
+ <edit name="pixelsize">
+ <double>16</double>
+ </edit>
+ <edit name="antialias">
+ <bool>false</bool>
+ </edit>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>ProggyTinyTT</string>
+ </test>
+ <edit name="pixelsize">
+ <double>16</double>
+ </edit>
+ <edit name="antialias">
+ <bool>false</bool>
+ </edit>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+</fontconfig>
diff --git a/fvwm/fvwm2rc b/fvwm/fvwm2rc
new file mode 100644
index 0000000..e8748b4
--- /dev/null
+++ b/fvwm/fvwm2rc
@@ -0,0 +1,1225 @@
+#####
+# fvwm2 initialisation file, using fvwm-2.5.24 on Arch GNU/Linux.
+#
+# This config tries to mimic gperfection2 GTK-Clearlooks theme.
+#
+# Convert to plain text with something like:
+# % lynx -width=999 -nolist -dump $URL > .fvwm2rc
+#
+# With Clearlooks for GTK, and Klearlooks for QT (also Clearlooks for
+# Windows, set it with winecfg), and coresponding color schemes
+# (gperfection) the desktop is unified.
+#
+# All icons used are from Tango icon set.
+#
+# Sometimes I use this as a Xinerama setup, to enable or disable it do
+# a search for "Xinerama".
+#
+# window deco: http://sysphere.org/~anrxc/local/images/fvwm-windeco.tar.bz2
+# .Xdefaults : http://git.sysphere.org/dotfiles/
+# wallpaper : found on a screenshot browsing google images, don't know the real name
+#
+# aquafont : http://aquablue.milkcafe.to/tears/font/dl.htm
+# DejaVu : http://dejavu.sourceforge.net/
+# Liberation : https://www.redhat.com/promo/fonts/
+# artwiz : http://artwizaleczapka.sourceforge.net/
+#
+# Libstroke for mouse gestures:
+# Slackware: http://www.linuxpackages.net/pkg_details.php?id=10888
+# Arch : http://www.archlinux.org/packages/extra/i686/libstroke/
+#
+# Some functionality config provides:
+# - QNX Photon like panel (which can also "swallow" anything)
+# - mouse gestures
+# - many key bindings, no need to reach for your mouse
+# - quake like rxvt console
+# - panels and taskbar can hide, expand, move ...
+# - and all the other things that make fvwm the best and
+# most powerfull wm today
+#
+#
+# This is a modified fvwm2rc, initially written by Tavis Ormandy
+# <taviso[at]gentoo.org>. Which is licensed under the Creative
+# Commons Attribution License. To view a copy of this license,
+# visit http://creativecommons.org/licenses/by/2.0/
+#####
+
+
+#####
+# Icons
+#####
+ImagePath ${HOME}/.fvwm/icons:+
+
+#####
+# Variables
+#####
+SetEnv fvwm_video_path /mnt/storage/Videos
+SetEnv fvwm_video_exec "gmplayer"
+
+SetEnv fvwm_audio_path /mnt/storage/Music
+SetEnv fvwm_audio_exec "amarok"
+SetEnv fvwm_sounds_player "ogg123 -q"
+
+SetEnv fvwm_image_path /mnt/storage/Pics
+SetEnv fvwm_image_exec "gqview"
+
+SetEnv fvwm_rom_path /usr/local/games/SNES
+SetEnv fvwm_rom_exec "zsnes"
+
+SetEnv fvwm_wallpaper_dir /mnt/storage/Pics/Wallpapers
+
+SetEnv fvwm_wallpaper /home/anrxc/.fvwm/wallpaper.png
+
+SetEnv fvwm_winicons /home/anrxc/.fvwm/win-clearlooks/
+
+# http://www.mail-archive.com/fvwm@lists.math.uh.edu/msg14841.html
+SetEnv OOO_FORCE_DESKTOP gnome
+
+#####
+# Main
+#####
+EdgeResistance 15 100
+EdgeThickness 0
+IgnoreModifiers L2
+
+# Maximized windows don't cover the panel nor taskbar
+# Without Xinerama
+EwmhBaseStruts 0 128 0 28
+# 1280x1024
+#EwmhBaseStruts 0 1144 0 28
+# 1024x768@1280x1024
+#EwmhBaseStruts 0 1400 0 28
+#1024x768@1600x1200
+#EwmhBaseStruts 0 1470 0 28
+
+ClickTime 550
+DeskTopSize 3x3
+DesktopName 0 Desktop
+DesktopName 1 Space
+DesktopName 2 Vortex
+DesktopName 3 Hyperspace
+DesktopName 4 BlackHole
+DesktopName 5 Abiss
+CursorStyle root top_left_arrow
+CursorStyle stroke hand2
+OpaqueMoveSize -1
+HideGeometryWindow Always
+SnapAttraction 3 SameType
+
+
+# While using Xinerama FvwmShelf insted of returning to screen 0,
+# continues to "grow" right on screen 1, I need a solution
+#
+##XineramaSlsScreens 2 1280x1024+0+0 1280x1024+1280+0
+##XineramaSlsSize 2x1
+##XineramaSls On
+#XineramaPrimaryScreen 0
+#Xinerama On
+#Style * StartsOnScreen p
+
+# Shell
+Test (f /bin/zsh) ExecUseShell /bin/zsh
+
+# Menu styles
+Colorset 0 fg #38362e, bg #e4e2d4, #e4e2d4
+Colorset 1 fg #38362e, bg #a4a499, hi #e4e2d4, sh #e4e2d4
+
+MenuStyle * Hilight3DThin, PopupOffset 0 100, PopupDelay 300
+MenuStyle * Font "Shadow=1 1 SE:xft:Liberation Sans:size=8:antialias=True"
+MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
+MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
+MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
+
+ColormapFocus FollowsFocus
+
+# Window styles
+Colorset 2 fg #888888, bg black, IconAlpha 40
+Colorset 3 fg white, bg black, fgsh black, IconAlpha 100
+Style * Font "xft:Liberation Sans:size=8:encoding=iso10646-1", BorderWidth 1, HandleWidth 1
+Style * Colorset 2, HilightColorset 3, MWMFunctions, MWMDecor, HintOverride
+Style * DecorateTransient, NoPPosition, IconBox 20 20 100 -15, IconGrid 3 3, IconFill left top
+Style * SloppyFocus, MouseFocusClickRaises, TileCascadePlacement, WindowShadeSteps 20
+Style * GrabFocusOff, NoIconTitle, !AllowMaximizeFixedSize, FPReleaseFocus, IndexedIconName
+
+# Iconified windows have Titles
+Colorset 14 fg white, bg black, fgsh black, RootTransparent
+Style * IconTitle, IconTitleColorset 14, HilightIconTitleColorset 14, IconTitleRelief 0
+Style * IconFont "xft:Aquafont:size=11minspacing=True", IndexedIconName, IconBackgroundPadding 2,
+Style * IconBackgroundRelief 0, IconBackGroundColorset 14
+
+# Custom gperfection window decoration
+DestroyDecor FperfectionDecor
+AddToDecor FperfectionDecor
++ TitleStyle LeftJustified Height 14 -- flat
++ AddTitleStyle Active ( TiledPixmap $[fvwm_winicons]active.png -- Flat ) \
+ Inactive ( TiledPixmap $[fvwm_winicons]inactive.png -- Flat )
++ ButtonStyle All - Clear
++ ButtonStyle 1 MiniIcons
++ ButtonStyle 2 Active (Pixmap $[fvwm_winicons]close_active.png) Inactive (Pixmap $[fvwm_winicons]close_inactive.png)
++ ButtonStyle 4 Active (Pixmap $[fvwm_winicons]maximize_active.png) Inactive (Pixmap $[fvwm_winicons]maximize_inactive.png)
++ ButtonStyle 6 Active (Pixmap $[fvwm_winicons]minimize_active.png) Inactive (Pixmap $[fvwm_winicons]minimize_inactive.png)
++ ButtonStyle All -- flat usetitlestyle
++ ButtonStyle 1 - MwmDecorStick
++ ButtonStyle 2 - Clear
++ ButtonStyle 4 - MwmDecorMax
++ BorderStyle Active Solid black -- NoInset HiddenHandles
++ BorderStyle Inactive Solid black -- NoInset HiddenHandles
+
+Style * NoButton 8
+Style * UseDecor FperfectionDecor
+BugOpts FlickeringMoveWorkaround True
+
+
+#####
+# Application specific Style settings
+#####
+# FVWM
+Style FvwmPager NoTitle, Sticky, WindowListSkip, StaysOnBottom
+Style FvwmBanner NoTitle
+Style FvwmApplet-DigitalClock NoTitle, WindowListSkip
+Style FvwmScript-Quit PositionPlacement Center, StaysOnTop, MiniIcon general-settings2.png, NoTitle, BorderWidth 3
+Style DeskControl NoTitle, NeverFocus, CirculateSkip, WindowListSkip, Sticky, StaysOnBottom, FixedSize, NoHandles
+# Xinerama
+#Style FvwmShelf NoTitle, StaysOnBottom, Sticky, WindowListSkip, CirculateSkip, FixedSize, NoHandles
+#Style FvwmBar NoTitle, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, FixedSize, NoHandles
+Style FvwmShelf NoTitle, StaysOnBottom, Sticky, WindowListSkip, CirculateSkip, NeverFocus, FixedSize, NoHandles
+Style FvwmBar NoTitle, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, NoHandles
+Style FvwmIdent MiniIcon fx_info.png
+Style fvwm_menu MiniIcon gears.png, NoButton 4
+# X
+Style Xman EWMHMiniIconOVerride, MiniIcon utils-xman.png
+Style xmag ClickToFocus, MiniIcon xmag.png
+Style XCalc EWMHMiniIconOVerride, MiniIcon utils-calc.png
+Style XVroot GrabFocus
+Style xmessage EWMHMiniIconOVerride, MiniIcon fx_info.png, MinOverlapPlacement, EWMHPlacementIgnoreWorkingArea
+Style xv EWMHMiniIconOVerride, MiniIcon graphics-pallete.png
+Style xfig EWMHMiniIconOVerride, MiniIcon xfig.png
+Style XDiary EWMHMiniIconOverride, MiniIcon utils-calendar.png
+Style XClipboard EWMHMiniIconOverride, MiniIcon klipper.png, NoTitle, CirculateSkip, WindowListSkip
+Style stalonetray NoTitle
+Style xclock NoTitle, Sticky, WindowListSkip
+Style Xpdf EWMHMiniIconOverride, MiniIcon xpdf.png
+# Term
+Style XTerm EWMHMiniIconOVerride, MiniIcon gnome-terminal.png
+Style urxvt EWMHMiniIconOverride, MiniIcon gnome-terminal.png, WindowShadeShrinks
+#Style HiddenConsole GrabFocus, Sticky, WindowListSkip, Notitle, StaysOnTop, NoHandles, CirculateSkip
+Style HiddenConsole Sticky, WindowListSkip, Notitle, StaysOnTop, NoHandles, CirculateSkip
+Style HiddenConsole WindowShadeSteps 100, ResizeHintOverride
+# User
+Style gmrun EWMHMiniIconOVerride, MiniIcon gears.png, GrabFocus, StaysOnTop, PositionPlacement Center, WindowListSkip, CirculateSkip, BorderWidth 3
+Style Gmrun EWMHMiniIconOVerride, MiniIcon gears.png, GrabFocus, StaysOnTop, PositionPlacement Center, WindowListSkip, CirculateSkip, BorderWidth 3
+Style ROX-Filer EWMHMiniIconOverride, MiniIcon utils-file_manager.png, !FPFocusByProgram, !FPGrabFocusTransient
+Style gqview EWMHMiniIconOverride, MiniIcon browse-pics.png
+Style GQview EWMHMiniIconOverride, MiniIcon browse-pics.png
+Style rainlendar UsePPosition, !FPFocusByProgram, IgnoreRestack
+Style vmware EWMHMiniIconOVerride, MiniIcon hardware_computers.png
+Style VMware EWMHMiniIconOVerride, MiniIcon hardware_computers.png
+Style kgpg EWMHMiniIconOverride, MiniIcon utils-gpg.png, PositionPlacement Center
+Style Kgpg EWMHMiniIconOverride, MiniIcon utils-gpg.png, PositionPlacement Center
+Style Waiting MinOverlapPlacement, ClickToFocus
+# Chat
+Style xchat-2 !FPFocusByProgram, NoFuncHint, NoDecorHint
+Style irssi EWMHMiniIconOverride, MiniIcon net-xchat.png
+Style Gajim EWMHMiniIconOverride, MiniIcon net-im-jabber.png, UsePPosition, !FPFocusByProgram, !Iconifiable, IgnoreRestack
+Style Gajim.py EWMHMiniIconOverride, MiniIcon net-im-jabber.png
+Style gajim.py EWMHMiniIconOverride, MiniIcon net-im-jabber.png
+# Net
+Style D4X EWMHMiniIconOverride, MiniIcon net-d4x.png
+Style D4X_Main EWMHMiniIconOverride, MiniIcon net-d4x.png
+Style Firefox-bin EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style Swiftfox-bin EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style Firefox EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style Swiftfox EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style Navigator EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style Minefield EWMHMiniIconOVerride, MiniIcon net-browser.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style opera EWMHMiniIconOverride, MiniIcon net-opera.png
+Style Skype EWMHMiniIconOverride, MiniIcon net-skype.png, UsePPosition, !FPFocusByProgram, !Iconifiable, IgnoreRestack
+Style Pine EWMHMiniIconOverride, MiniIcon net-email.png
+Style Alpine EWMHMiniIconOverride, MiniIcon net-email.png
+Style gFTP EWMHMiniIconOverride, MiniIcon net-gftp.png
+Style Valknut EWMHMiniIconOverride, MiniIcon dc.png
+Style Xqf EWMHMiniIconOverride, MiniIcon xqf.png
+Style uTorrent.exe EWMHMiniIconOverride, MiniIcon net-utorrent.png
+# Editing
+Style gimp EWMHMiniIconOverride, MiniIcon graphics-gimp.png, !FPFocusByProgram
+Style gimp-2.0 EWMHMiniIconOverride, MiniIcon graphics-gimp.png, !FPFocusByProgram
+Style Emacs EWMHMiniIconOverride, MiniIcon editors-emacs.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea
+Style vim EWMHMiniIconOverride, MiniIcon editors-vim.png
+Style gvim EWMHMiniIconOverride, MiniIcon editors-vim.png
+Style poEdit EWMHMiniIconOverride, MiniIcon poedit.png
+Style khexedit EWMHMiniIconOverride, MiniIcon hexeditor.png
+# Media
+Style "MPlayer" MiniIcon media-menu.png, Title
+# There is some universaly stupid behaviour with mplayer, controls
+# window jumps from layer 4 to layer 10 when going full screen and so
+# it's always on top (of the picture).. this is the only way to change
+# that, unfortunately it's stays on top of other windows too.
+Style "MPlayer - Video" MiniIcon media-menu.png, NoTitle, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea, Layer 11 4
+Style xine MwmDecor, UsePPosition, MiniIcon media-menu.png, EWMHPlacementIgnoreWorkingArea, EWMHMaximizeIgnoreWorkingArea, WindowListSkip, CirculateSkip, Sticky
+Style Xitk MwmDecor, UsePPosition, MiniIcon media-menu.png
+Style oxine MwmDecor, UsePPosition, MiniIcon media-menu.png, WindowListSkip, CirculateSkip, Sticky
+Style NoClass MwmDecor, UsePPosition, MiniIcon media-menu.png, WindowListSkip, CirculateSkip, Sticky
+Style Amarokapp EWMHMiniIconOverride, MiniIcon media-amarok.png
+Style amarokapp EWMHMiniIconOverride, MiniIcon media-amarok.png
+Style Aumix EWMHMiniIconOverride, MiniIcon media-mixer.png
+Style Nero EWMHMiniIconOverride, MiniIcon media-burner2.png
+Style nero EWMHMiniIconOverride, MiniIcon media-burner2.png
+# Not used
+#Style xystray NoTitle
+#Style Kaffeine WindowListSkip, CirculateSkip
+#Style Dolphin EWMHMiniIconOverride, MiniIcon utils-file_manager.png, !FPFocusByProgram, !FPGrabFocusTransient
+#Style dolphin EWMHMiniIconOverride, MiniIcon utils-file_manager.png, !FPFocusByProgram, !FPGrabFocusTransient
+#Style XOsview WindowListSkip, CirculateSkip, NoTitle
+#Style xmms MiniIcon xmms.png
+#Style beep-media-player MiniIcon beep-media-player.png, UsePPosition, !FPFocusByProgram, !Iconifiable, IgnoreRestack
+
+#####
+# Modules
+#####
+DestroyModuleConfig FvwmIdent: *
+*FvwmIdent: Back #e4e2d4
+*FvwmIdent: Fore #000000
+*FvwmIdent: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
+
+DestroyModuleConfig FvwmScroll: *
+*FvwmScroll: Back #f6f6f6
+*FvwmScroll: Fore #f6f6f6
+
+DestroyModuleConfig FvwmEvent: *
+*FvwmEvent: deiconify DeThumbnail
+*FvwmEvent: add_window NewWindowFunc
+*FvwmEvent: new_desk "SendToModule DeskControl ChangeButton desk Title $$[desk.n]"
+
+DestroyModuleConfig FvwmAnimate: *
+# Frame, Lines, Turn, Twist, Random and None
+*FvwmAnimate: Effect Flip
+*FvwmAnimate: Delay 0
+*FvwmAnimate: Iterations 30
+*FvwmAnimate: Width 2
+
+ModuleTimeout 10
+
+DestroyModuleConfig FvwmProxy: *
+*FvwmProxy: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
+*FvwmProxy: ProxyMove false
+
+####
+# Sounds
+####
+DestroyModuleConfig FvwmSoundEvents: *
+*FvwmSoundEvents: Cmd "Exec exec $[fvwm_sounds_player]"
+*FvwmSoundEvents: startup $[FVWM_USERDIR]/sounds/Startup.ogg
+*FvwmSoundEvents: shutdown $[FVWM_USERDIR]/sounds/Logout.ogg
+*FvwmSoundEvents: error $[FVWM_USERDIR]/sounds/Error.ogg
+*FvwmSoundEvents: deiconify $[FVWM_USERDIR]/sounds/Restore_up.ogg
+*FvwmSoundEvents: iconify $[FVWM_USERDIR]/sounds/Restore_down.ogg
+*FvwmSoundEvents: windowshade $[FVWM_USERDIR]/sounds/Shade_up.ogg
+*FvwmSoundEvents: dewindowshade $[FVWM_USERDIR]/sounds/Shade_down.ogg
+*FvwmSoundEvents: destroy_window $[FVWM_USERDIR]/sounds/Popup.ogg
+
+DestroyModuleConfig FvwmWindowEvents: *
+*FvwmWinEvents: deiconify DeThumbnail
+
+
+#####
+# Mouse bindings.
+#####
+Mouse 1 R A Menu MenuFvwmRoot
+Mouse 4 R A Menu MenuFvwmRoot
+Mouse 5 R A Menu MenuFvwmRoot
+Mouse 4 A M Next (AcceptsFocus) FlipFocus
+Mouse 5 A M Prev (AcceptsFocus) Focus
+Mouse 4 A S WheelScroll down
+Mouse 5 A S WheelScroll up
+Mouse 4 R C WheelScroll down
+Mouse 5 R C WheelScroll up
+Mouse 4 T N WheelToggleShade True
+Mouse 5 T N WheelToggleShade False
+Mouse 2 R A WindowList SortByClass MaxLabelWidth 60
+Mouse 0 1 N Menu MenuFvwmWindowOps
+Mouse 0 2 A DestroyOnHold
+Mouse 0 6 A Thumbnail
+Mouse 0 4 A Maximize
+Mouse 0 8 A Module FvwmIdent
+Mouse 1 FS A Resize-or-Raise
+Mouse 1 T A Move-or-Raise
+Mouse 1 I A Move-or-Iconify
+Mouse 2 I A Iconify
+Mouse 3 TSIF A RaiseLower
+Mouse 2 W C Resize-or-Raise
+Mouse 1 W M Move-or-Raise
+
+#####
+# Key bindings.
+#####
+Key F1 A M Exec exec urxvt -title 'terminal'
+Key F2 A M Exec exec gmrun
+#Key F3 A M Exec exec emacs
+Key F3 A M Pick Close
+Key F4 A M Pick Close # maybe Destroy
+Key F4 A CM Quit
+
+Key I A SC All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail
+Key Q A CM Pick Resize
+Key W A CM Pick Move
+Key N A CM Exec exec knode
+#Key X A CM Exec exec xine # this doesn't work, change X key to smtin else
+#Key P A CM Exec exec amarok
+#Key G A CM Exec exec gajim
+#Key R A CM Restart
+
+#Key Up WTSF SM empty
+#Key Down WTSF SM emtpy
+#Key Left WTSF SM empty
+#Key Right WTSF SM empty
+
+Key Escape A M SendToModule FvwmProxy ShowToggle # alt+esc I love this
+Key Super_L A A Menu MenuFvwmRoot rectangle 0x0+0+330 +0 +0 # "Win" key opens the Launch menu
+Key Tab A M WindowList Root c c CurrentDesk, NoGeometry, CurrentAtEnd, IconifiedAtEnd # standard alt+tab
+Key grave A M Next (CirculateHit, HiddenConsole) HiddenConsoleKeyBinding # alt+cedilla opens the "quake" console
+Key Print A N Exec exec ksnapshot
+Key Scroll_Lock A N Lower
+Key Pause A N Raise
+#Key Pause A N Thumbnail
+Key Delete A CM Exec exec kdesktop_lock --forcelock
+#Key Menu A A do some nice action here # this is the "right click" key
+
+# Multimedia Keys, keycodes defined in .Xmodmap
+#Key XF86AudioPlay A A Exec exec dcop amarok player play
+#Key XF86AudioStop A A Exec exec dcop amarok player pause
+#Key XF86AudioPrev A A Exec exec dcop amarok player prev
+#Key XF86AudioNext A A Exec exec dcop amarok player next
+Key XF86AudioMute A A Exec exec amixer -q sset Master toggle
+Key XF86AudioLowerVolume A A Exec exec amixer -q sset PCM 2dB-
+Key XF86AudioRaiseVolume A A Exec exec amixer -q sset PCM 2dB+
+Key XF86WWW A A Exec exec /usr/local/bin/firefox -browser
+Key XF86Mail A A Exec exec /usr/bin/urxvt -g 126x38+198+150 -title Alpine -e alpine
+
+
+###########################################################################################
+#
+####
+# Mouse Gestures.
+#
+# Syntax reminder:
+#
+# 1 2 3
+#
+# 4 5 6
+#
+# 7 8 9
+#
+# Stroke Sequence Button Context Modifiers Function
+#
+# I use mouse gestures in Opera and Mozilla, so I've duplicated some common ones here.
+#
+# To try these out, hold down the Left mouse button and trace the pattern on the Root
+# Window, the sequence is a pattern on the grid above, so 14789 would be down then Right.
+#################
+#
+####
+# First, define a StrokeFunc.
+#
+# Without this, you would have to execute all of your gestures entirely on the Root
+# Window, This lets you change the Context and have a few other Neat Features, such as
+# DrawMotion, which will draw a line as you make your Gesture (Neat!).
+#
+# There is also EchoSequence, Feedback and NotStayPressed.
+#
+# Note: EchoSequence prints sequences to STDERR.
+#################
+Mouse 3 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
+#Stroke 0 0 R N Menu MenuFvwmRoot
+
+# Down, Then Up.
+Stroke 25852 0 R N Refresh
+
+# Directions...
+Stroke 456 0 R N GotoPage +1p 0p
+Stroke 654 0 R N GotoPage -1p 0p
+Stroke 852 0 R N GotoPage 0p -1p
+Stroke 258 0 R N GotoPage 0p +1p
+
+# Diagonal...
+Stroke 159 0 R N GotoPage +1p +1p
+Stroke 951 0 R N GotoPage -1p -1p
+Stroke 357 0 R N GotoPage -1p +1p
+Stroke 753 0 R N GotoPage +1p -1p
+
+#####
+# Quit
+#
+# Down, Then Right.
+#
+# Dont worry about running this gesture by accident,
+# you will be asked to confirm
+#################
+Stroke 14789 0 R N Module FvwmForm FvwmForm-QuitVerify
+
+####
+# Up, Then Down: Close a window.
+#
+# Note that you can also enter the sequence as it appears on your
+# Numeric Keypad, by preceding the sequence with an `N`.
+#
+# The FVWM developers think of everything :)
+#################
+Stroke N25852 0 R N Pick Close
+
+# Start a Web Browser
+Stroke N1478963 0 R N Exec exec firefox -browser
+
+# Make a new Sticky Note
+Stroke N3698741 0 R N Exec exec knotes
+
+###########################################################################################
+
+#####
+# Fvwm initialize
+#####
+AddToFunc StartFunction
++ I Test (Init) Exec exec fvwm-root --dither --retain-pixmap $[fvwm_wallpaper]
++ I Module FvwmCommandS
++ I Module FvwmAnimate
++ I Module FvwmEvent
++ I Module FvwmProxy
++ I Module FvwmEvent FvwmSoundEvents
++ I Module FvwmEvent FvwmWindowEvents
++ I Module FvwmAuto FvwmAutohide -menter FuncAutoEnter
++ I Module FvwmButtons -g 126x$[vp.height]-0+0 FvwmShelf
++ I Module FvwmButtons -g 18x42+0+-28 DeskControl
+
+#####
+# Taskbar and menu
+#####
+# Without Xinerama
++ I PipeRead "echo Module FvwmButtons -g $$(($[vp.width]-129))x28+0-0 FvwmBar"
+# 1280x1024
+#+ I PipeRead "echo Module FvwmButtons -g $$(($[vp.width]-1154))x28+0-0 FvwmBar"
+# 1024x768@1280x1024
+#+ I PipeRead "echo Module FvwmButtons -g $$(($[vp.width]-1410))x28+0-0 FvwmBar"
+# 1024x768@1600x1200
+#+ I PipeRead "echo Module FvwmButtons -g $$(($[vp.width]-1480))x28+0-0 FvwmBar"
+
++ I Test (Init) Exec exec /usr/bin/root-tail -g 670x150+0+100 -wordwrap -font cure -reverse /var/log/everything.log,white /var/log/auth.log,white
++ I Test (Init) Test (x urxvt) StartHiddenConsole
++ I Test (Init) Exec conky -c ~/.conky/cfg-0
++ I Test (Init) Exec conky -c ~/.conky/cfg-1
++ I Test (Init) Exec conky -c ~/.conky/cfg-2
++ I Test (Init) Exec klaptop_check
+# If you need icons on the desktop
+#+ I Test (Init) Exec rox -S
++ I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
+
+#####
+# Exit
+#####
+AddToFunc ExitFunction
++ I Test (!ToRestart) Exec rm -f $[FVWM_USERDIR]/icon.tmp.*
++ I KillModule FvwmAnimate
++ I Exec killall stalonetray
+#+ I Exec killall amarokapp
+#+ I Exec killall dcopserver
+#+ I Exec killall irexec
++ I Exec sync
+
+#####
+# Autohide console
+#####
+DestroyFunc StartHiddenConsole
+AddToFunc StartHiddenConsole
++ I Exec exec urxvt +sb -ls -bg black -fg white -fn "-xos4-terminus-medium-*-*-*-12-*-*-*-*-*-*-*" -fb "-xos4-terminus-medium-*-*-*-12-*-*-*-*-*-*-*" -bc -g 100x12+0+0 -name HiddenConsole
++ I Wait HiddenConsole
++ I Next (HiddenConsole) Resize $[vp.width]p 9
++ I Autohide HiddenConsole 0 0 N
+DestroyFunc HiddenConsoleKeyBinding
+AddToFunc HiddenConsoleKeyBinding
++ I ThisWindow (Shaded) FuncAutoEnter
++ I TestRc (NoMatch) NoWindow FuncAutoEnter
+
+#####
+# Menu
+#####
+DestroyMenu MenuFvwmRoot
+AddToMenu MenuFvwmRoot
++ %gnome-terminal.png%"&Urxvt" Exec exec urxvt --title 'terminal'
++ "" Nop
++ %gnome-office.png%"Office" Popup MenuOffice
++ %net-menu.png%"Internet" Popup MenuInternet
++ %text-editor.png%"Editors" Popup MenuEditors
++ %media-menu.png%"Multimedia" Popup MenuMultimedia
++ %graphics-menu.png%"Graphics" Popup MenuGraphics
++ %utils-menu.png%"Utilities" Popup MenuUtilities
++ %devel-menu.png%"Development" Popup MenuDevel
++ %applications-games.png%"Games" Popup MenuGames
++ %ssh-logins.png%"Logins" Popup MenuLogins
++ "" Nop
++ %run2.png%"Run..." Exec exec gmrun
++ %find.png%"Find" Exec exec kfind
++ "" Nop
++ %gconf-editor.png%"Preferences" Popup MenuFvwmConfig
++ %gnome-monitor.png%"Window Controls" Popup MenuFvwmWindowOps
++ %hardware-computer.png%"F&vwmConsole" Module FvwmConsole -terminal urxvt -title 'FvwmConsole' -name 'urxvt'
++ "" Nop
++ %quit.png%"Exit Fvwm" Popup MenuQuit-Verify
+
+DestroyMenu MenuOffice
+AddToMenu MenuOffice
++ %office-addressbook.png%"Management" Popup MenuManagement
++ "" Nop
++ %office-ooo_writer.png%"Writer" Exec exec /opt/openoffice/program/swriter
++ %office-ooo_calc.png%"Calc" Exec exec /opt/openoffice/program/scalc
++ %office-ooo_impress.png%"Impress" Exec exec /opt/openoffice/program/simpress
++ %office-ooo_draw.png%"Draw" Exec exec /opt/openoffice/program/sdraw
++ "" Nop
++ %office-documents.png%"Tellico" Exec exec tellico
++ "" Nop
++ %office-kpdf.png%"KPDF" Exec exec kpdf
++ %office-xpdf.png%"xPDF" Exec exec xpdf
++ %office-xchm.png%"xCHM" Exec exec xchm
+
+DestroyMenu MenuManagement
+AddToMenu MenuManagement
++ %office-calendar.png%"Kontact" Exec exec kontact
++ %office-organizer.png%"Korganizer" Exec exec korganizer
++ %office-addressbook2.png%"Kadressbook" Exec exec kadressbook
++ %office-alarm.png%"Kalarm" Exec exec kalarm
++ %sync.png%"Ksync" Exec exec ksync
++ %hardware-mobilephone.png%"Kandy" Exec exec kandy
+
+DestroyMenu MenuInternet
+AddToMenu MenuInternet
++ %net-browser.png%"Konqueror" Exec exec konqueror --profile webbrowsing
++ %net-opera.png%"Opera" Exec exec opera.sh
++ %net-browser.png%"Links" Exec exec urxvt -g 90x36 -title Links -e links ~/.links/startpage.html
++ %net-email.png%"Alpine" Exec exec urxvt -g 126x38+198+150 -title Alpine -e alpine
++ %net-news.png%"ANews" Exec exec urxvt -g 126x38+198+150 -title Alpine -e alpine -I "l,n,>"
++ %net-kmail.png%"KMail" Exec exec kmail
++ %net-rss.png%"aKregator" exec akregator
++ %net-gftp.png%"gFTP" Exec exec gftp
++ "" Nop
++ %net-xchat.png%"XChat" Exec exec xchat
++ %net-im-kopete.png%"Kopete" Exec exec kopete
++ %net-skype.png%"Skype" Exec exec kdocker -t /usr/local/opt/skype/skype
++ "" Nop
++ %net-utorrent.png%"uTorrent" Exec exec utorrent
++ %net-download.png%"Klibido" Exec exec klibido
++ %net-torrent.png%"DC++" Exec exec valknut
++ %net-d4x.png%"KGet" Exec exec kget
++ "" Nop
++ %net-netanalyzer.png%"Net Analyzer" Exec exec wireshark
++ %net-nmap.png%"Port Scanner" Exec exec zenmap
+
+DestroyMenu MenuEditors
+AddToMenu MenuEditors
++ %editors-vim.png%"VIM" Exec exec gvim -geom 72x25
++ %text-editor.png%"Kwrite" Exec exec kwrite
++ %office-abiword.png%"Kate" Exec exec kate
++ %text-editor.png%"Kedit" Exec exec kedit
++ %editors-subtitles.png%"SubAdjust" Exec exec subadjust
++ %poedit.png%"poEdit" Exec exec poedit
++ %hexeditor.png%"HexEdit" Exec exec khexedit
+
+DestroyMenu MenuMultimedia
+AddToMenu MenuMultimedia
++ MissingSubmenuFunction FuncFvwmMenuDirectory
++ %media-menu.png%"Xine" Exec exec xine
++ %media-real.png%"Real" Exec exec /usr/local/opt/realplay/realplay
++ %media-webcam.png%"wxCam" Exec exec wxcam
++ "" Nop
++ %media-burner.png%"K3B" Exec exec k3b
++ %media-burner2.png%"Nero" Exec exec nero
++ "" Nop
++ %browse-videos.png%"Browse Videos" Popup $[fvwm_video_path]
++ %browse-music.png%"Browse Music" Popup $[fvwm_audio_path]
+
+DestroyMenu MenuGraphics
+AddToMenu MenuGraphics
++ MissingSubmenuFunction FuncFvwmMenuDirectory
++ %graphics-gimp.png%"GIMP" Exec exec gimp
++ %inkscape.png%"Inkscape" Exec exec inkscape
++ "" Nop
++ %graphics-viewer.png%"GQview" Exec exec gqview
++ %graphics-comix.png%"Comix" Exec exec comix
++ %graphics-film.png%"KView" Exec exec kview
++ %kpaint.png%"KPaint" Exec exec kolourpaint
++ %splash.png%"KColor" Exec exec kcolorchooser
++ "" Nop
++ %graphics-snapshot.png%"Snapshot" Exec exec ksnapshot
++ "" Nop
++ %browse-pics.png%"Browse Images" Popup $[fvwm_image_path]
+
+DestroyMenu MenuUtilities
+AddToMenu MenuUtilities
++ %xmms.png%"X Utils" Popup MenuXUtils
++ %utils-kde.png%"K Utils" Popup MenuKUtils
++ %utils-wine.png%"W Utils" Popup MenuWUtils
++ "" Nop
++ %utils-file_manager.png%"Konqueror" Exec exec konqueror --profile filemanagement
++ %utils-file_manager.png%"Konqueror-MC" Exec exec konqueror --profile midnightcommander
++ "" Nop
++ %general-package.png%"Archiver" Exec exec ark
++ %run.png%"DistCC" Exec exec distccmon-gnome
++ %vmware.png%"VMware" Exec exec /usr/local/opt/vmware-5.5.3/bin/vmware
++ %hardware-synaptics.png%"QSynaptics" Exec exec syndock
++ "" Nop
++ %hardware-modem.png%"Kppp" Exec exec kppp
++ %utils-rdc.png%"KRdc" Exec exec krdc
++ "" Nop
++ %utils-stngs-template.png%"KDE Settings" Exec exec konqueror --profile systemsettings
++ %utils-conf-template.png%"KDE Control" Exec exec kcontrol
++ %utils-karamba.png%"Superkaramba" Exec exec superkaramba
++ "" Nop
++ %fx_info.png%"Procinfo" Exec exec xterm -exec procinfo -f
++ %utils-sysmonitor.png%"vmstat" Exec exec urxvt -exec vmstat 2
+
+DestroyMenu MenuXUtils
+AddToMenu MenuXUtils
++ %utils-calc.png%"Xcalc" Exec exec xcalc
++ %gnome-terminal.png%"Xterminal" Exec exec xterm
++ %utils-xman.png%"Xman" Exec exec xman
++ %klipper.png%"Xclipboard" Exec exec kdocker -i /home/anrxc/.fvwm/icons/klipper.png xclipboard
++ %xload.png%"Xload" Exec exec xload
++ %xmag.png%"Xmagnifier" Exec exec xmag
++ %xrefresh.png%"Xrefresh" Exec exec xrefresh
++ %tux.png%"Xedit" Exec exec xedit
++ "" Nop
++ %xpaint.png%"XPaint" Exec exec xpaint
++ %graphics-pallete.png%"XV" Exec exec xv
++ %color_line.png%"XFig" Exec exec xfig
+
+
+DestroyMenu MenuKUtils
+AddToMenu MenuKUtils
++ %utils-calc.png%"Kcalc" Exec exec kcalc
++ %gnome-terminal.png%"Konsole" Exec exec konsole
++ %klipper.png%"Klipper" Exec exec klipper
++ %kwallet.png%"Kwallet" Exec exec kwalletmanager
++ %fx_info.png%"KInfoCenter" Exec exec kinfocenter
++ %utils-kde.png%"SysGuard" Exec exec ksysguard
++ %utils-kde.png%"Print Jobs" Exec exec kjobviewer
++ %utils-kde.png%"QT Designer" Exec exec designer
++ %fx_info.png%"QT Assistant" Exec exec assistant
++ %utils-kde.png%"KPovModeler" Exec exec kpovmodeler
++ %ksirc.png%"KSirc" Exec exec ksirc
++ %kiconedit.png%"KIcon" Exec exec kiconedit
+
+DestroyMenu MenuWUtils
+AddToMenu MenuWUtils
++ %media-optical.png%"UltraISO" Exec exec wine ~/.cedega/wine_c/Program\ Files/UltraISO/UltraISO.exe
++ %iso.png%"ISOBuster" Exec exec wine ~/.cedega/wine_c/Program\ Files/Smart\ Projects/IsoBuster/IsoBuster.exe
++ %general-package.png%"PowerArchiver" Exec exec wine ~/.cedega/wine_c/Program\ Files/PowerArchiver/POWERARC.EXE
++ "" Nop
++ %utils-wine.png%"WineCfg" Exec exec winecfg
+
+DestroyMenu MenuDevel
+AddToMenu MenuDevel
++ %run.png%"IPython" Exec exec urxvt -exec ipython
++ %editors-emacs.png%"Emacs Py-mode" Exec exec emacs file -f python-mode
++ %idle.png%"IDLE" Exec exec idle
++ %rs-editor.png%"ResourceEditor" Exec exec /usr/lib/python2.4/site-packages/PythonCard/tools/resourceEditor/resourceEditor.py
++ %utils-notes.png%"CodeEditor" Exec exec /usr/lib/python2.4/site-packages/PythonCard/tools/codeEditor/codeEditor.py
++ %samples.png%"Samples" Exec exec /usr/lib/python2.4/site-packages/PythonCard/samples/samples.py
++ %wxdemo.png%"wxDemo" Exec exec /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/demo/demo.py
+
+DestroyMenu MenuGames
+AddToMenu MenuGames
++ MissingSubMenuFunction FuncFvwmMenuDirectory
++ %games-cedega.png%"Cedega" Exec exec cedega
++ %games-scummvm.png%"ScummVM" Exec exec scummvm
++ %games-zsnes.png%"Zsnes" Exec exec zsnes
++ %games-sudoku.png%"KSudoku" Exec exec ksudoku
++ "" Nop
++ %games-xqf.png%"XQF" Exec exec xqf
++ "" Nop
++ %games-et.png%"EnemyTeritory" Exec exec et
++ %games-quake.png%"OpenArena" Exec exec /usr/local/games/openarena-0.7.0/ioquake3.i386
++ "" Nop
++ %games-browse.png%"Browse SNES Games" Popup $[fvwm_rom_path]
+
+DestroyMenu MenuLogins
+AddToMenu MenuLogins
++ %ssh-session.png%"Clients" Popup MenuLoginsClients
++ "" Nop
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ "" Nop
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e ssh
++ %ssh-session.png%"Host" Exec exec urxvt -e telnet
++ "" Nop
++ %ssh-session.png%"Screen" Exec exec urxvt -e screen -raAd
++ "" Nop
++ %utils-gpg.png%"Add Agent Identity" Exec ssh-add < /dev/null
++ %gnome-terminal.png%"Large Terminal Emulator" Exec exec urxvt -g 102x42 -title 'terminal'
+
+DestroyMenu MenuLoginsClients
+AddToMenu MenuLoginsClients
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ "" Nop
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
++ %ssh-session.png%"Client" Exec exec urxvt -e ssh
+
+DestroyMenu MenuQuit-Verify
+AddToMenu MenuQuit-Verify
++ %quit.png%"Quit Fvwm Now" Quit
++ %general-restart.png%"Restart Fvwm..." Restart
++ "" Nop
++ %process-stop.png%"Cancel" Nop
+
+DestroyMenu MenuFvwmConfig
+AddToMenu MenuFvwmConfig
++ MissingSubmenuFunction WallpaperBrowser
++ %fx_info.png%"Help" Popup FvwmManPagesMenu
++ "" Nop
++ %general-settings3.png%"Configure FvwmForm" Module FvwmForm FvwmForm-Form
++ %hardware-mouse.png%"Configure Cursor" Module FvwmForm FvwmForm-RootCursor
++ %hardware-mouse.png%"Mouse Settings" Module FvwmScript FvwmScript-PointerSetup
++ %hardware-keyboard.png%"Keyboard Settings" Module FvwmScript FvwmScript-KeyboardSetup
++ %media-mixer.png%"Configure Bell" Module FvwmScript FvwmScript-BellSetup
++ %general-settings.png%"General Settings" Module FvwmScript FvwmScript-BaseConfig
++ %utils-themes.png%"Edit fvwm2rc..." Exec exec emacsclient $[FVWM_USERDIR]/.fvwm2rc
++ %general-settings2.png%"Fvwm Modules" Popup MenuFvwmModules
++ %preferences-wallpaper.png%"Browse Wallpaper" Popup $[fvwm_wallpaper_dir]
++ %fx_info.png%"Fvwm Information..." Exec exec xmessage "$(fvwm --version)"
++ %fx_info.png%"X Information..." Exec exec xmessage "$(xdpyinfo)"
+
+DestroyMenu FvwmMoveMethods
+AddToMenu FvwmMoveMethods
++ %move_top.png%"Move to Top" Pick AnimatedMove keep 0p
++ %move_left.png%"Move to Left" Pick AnimatedMove 0p keep
++ %move_right.png%"Move to Right" Pick PipeRead "echo AnimatedMove $$(($[vp.width] - $[w.width]))p keep"
++ %move_bottom.png%"Move to Bottom" Pick PipeRead "echo AnimatedMove keep $$(($[vp.height] - $[w.height]))p"
++ %move_center.png%"Centre Window" Pick CentreWindow (126/2) (28/2) Animated
++ "" Nop
++ %numbers_counter.png%"Move To Page" Popup MenuPageList
++ "" Nop
++ %hardware-mouse.png%"Interactive Move" Pick Move
+
+DestroyMenu MenuPageList
+AddToMenu MenuPageList
++ %1.png% Pick MoveToPage 0 0
++ %2.png% Pick MoveToPage 1 0
++ %3.png% Pick MoveToPage 2 0
++ %4_1.png% Pick MoveToPage 0 1
++ %5.png% Pick MoveToPage 1 1
++ %6.png% Pick MoveToPage 2 1
++ %7.png% Pick MoveToPage 0 2
++ %8.png% Pick MoveToPage 1 2
++ %9.png% Pick MoveToPage 2 2
+
+#####
+# Window controls menu.
+#####
+DestroyMenu MenuFvwmWindowOps
+AddToMenu MenuFvwmWindowOps
++ %window_resize.png%"Resize" Pick Resize
++ %window_iconify.png%"Iconify" Pick Iconify
++ %window_thumbnail.png%"Thumbnail" Pick Thumbnail
++ %window_maximize.png%"Maximise" Pick Maximize
++ %hardware-mouse.png%"Move" Popup FvwmMoveMethods
++ %window_shade.png%"Shade" Pick WindowShade Toggle
++ %window_zoom.png%"Zoom Window" Pick Exec exec xmag -source $[w.width]x$[w.height]+$[w.x]+$[w.y] -mag 2
++ %window_jiggle.png%"Jiggle Window" Pick Jiggle 5
++ "" Nop
++ %hardware-mouse.png%"Stick" Pick Stick
++ %hardware-mouse.png%"Scroll" Pick Module FvwmScroll
++ %window_refresh.png%"Refresh" Pick RefreshWindow
++ %fx_info.png%"Identify" Pick Module FvwmIdent
++ "" Nop
++ %window_cascade.png%"Cascade Windows" Module FvwmRearrange -cascade -animate -incx 3 -incy 3
++ %window_tile.png%"Tile Windows" Module FvwmRearrange -tile -animate -mn 2
++ %graphics-camera.png%"Screenshot" Exec exec import -window root -quality 100 '%Y-%m-%d_$wx$h.png'
++ "" Nop
++ %general-restart.png%"Close" Pick Close
++ %window_close.png%"Destroy" Pick Destroy
++ "" Nop
+
+DestroyMenu MenuFvwmModules
+AddToMenu MenuFvwmModules
++ %wireframe.png%"Start Animation" Module FvwmAnimate
++ %map_sign.png%"Identify Window" Module FvwmIdent
++ %reorder.png%"Start FvwmIconMan" Module FvwmIconMan
++ %display_banner.png%"Display Banner" Module FvwmBanner
++ %hardware-computer.png%"Start FvwmConsole" Module FvwmConsole -terminal urxvt -title 'FvwmConsole' -name 'urxvt'
++ %hand_slides.png%"Start FvwmPager" Module FvwmPager *
++ %display_banner.png%"Start FvwmBacker" Module FvwmBacker
++ %window_resize.png%"Scroll Window" Module FvwmScroll 50 50
++ %reorder.png%"Start FvwmTaskBar" Module FvwmTaskBar
++ %window_tile.png%"AutoRaise Windows" Module FvwmAuto 200 Raise Nop
++ "" Nop
++ %stop_module.png%"Stop Module" Popup MenuFvwmStopModule
+
+DestroyMenu MenuFvwmStopModule
+AddToMenu MenuFvwmStopModule
++ %general-restart.png%"Close FvwmButtons" KillModule FvwmButtons
++ %reorder.png%"Close Icon Managers" KillModule FvwmIconMan
++ %hand_slides.png%"Close Pagers" KillModule FvwmPager
++ %display_banner.png%"Stop FvwmBacker" KillModule FvwmBacker
++ %reorder.png%"Stop FvwmTaskBar" KillModule FvwmTaskBar
++ %window_tile.png%"Disable AutoRaise" KillModule FvwmAuto
+
+#####
+# FVWM Help Menu
+#####
+DestroyFunc FvwmViewManPage
+AddToFunc FvwmViewManPage
++ I Exec exec xterm -fg White -bg DarkBlue -g 80x40 -fn 7x14 -fb 7x14bold -n "Manual Page - $0" -T "Manual Page - $0" -e man "$0"
+
+DestroyMenu FvwmManPagesMenu
+AddToMenu FvwmManPagesMenu "FVWM Man Pages" Title
++ %fx_info.png%"fvwm" FvwmViewManPage fvwm
++ %fx_info.png%"FvwmAnimate" FvwmViewManPage FvwmAnimate
++ %fx_info.png%"FvwmAuto" FvwmViewManPage FvwmAuto
++ %fx_info.png%"FvwmBacker" FvwmViewManPage FvwmBacker
++ %fx_info.png%"FvwmBanner" FvwmViewManPage FvwmBanner
++ %fx_info.png%"FvwmButtons" FvwmViewManPage FvwmButtons
++ %fx_info.png%"FvwmCommand" FvwmViewManPage FvwmCommand
++ %fx_info.png%"FvwmConsole" FvwmViewManPage FvwmConsole
++ %fx_info.png%"FvwmConsoleC.pl" FvwmViewManPage FvwmConsoleC.pl
++ %fx_info.png%"FvwmCpp" FvwmViewManPage FvwmCpp
++ %fx_info.png%"FvwmDebug" FvwmViewManPage FvwmDebug
++ %fx_info.png%"FvwmDragWell" FvwmViewManPage FvwmDragWell
++ %fx_info.png%"FvwmEvent" FvwmViewManPage FvwmEvent
++ %fx_info.png%"FvwmForm" FvwmViewManPage FvwmForm
++ %fx_info.png%"FvwmGtk" FvwmViewManPage FvwmGtk
++ %fx_info.png%"FvwmGtkDebug" FvwmViewManPage FvwmGtkDebug
++ %fx_info.png%"FvwmIconBox" FvwmViewManPage FvwmIconBox
++ %fx_info.png%"FvwmIconMan" FvwmViewManPage FvwmIconMan
++ %fx_info.png%"FvwmIdent" FvwmViewManPage FvwmIdent
++ %fx_info.png%"FvwmM4" FvwmViewManPage FvwmM4
++ %fx_info.png%"FvwmPager" FvwmViewManPage FvwmPager
++ %fx_info.png%"FvwmPerl" FvwmViewManPage FvwmPerl
++ %fx_info.png%"FvwmProxy" FvwmViewManPage FvwmProxy
++ %fx_info.png%"FvwmRearrange" FvwmViewManPage FvwmRearrange
++ %fx_info.png%"FvwmSave" FvwmViewManPage FvwmSave
++ %fx_info.png%"FvwmSaveDesk" FvwmViewManPage FvwmSaveDesk
++ %fx_info.png%"FvwmScript" FvwmViewManPage FvwmScript
++ %fx_info.png%"FvwmScroll" FvwmViewManPage FvwmScroll
++ %fx_info.png%"FvwmTaskBar" FvwmViewManPage FvwmTaskBar
++ %fx_info.png%"FvwmTheme" FvwmViewManPage FvwmTheme
++ %fx_info.png%"FvwmWharf" FvwmViewManPage FvwmWharf
++ %fx_info.png%"FvwmWinList" FvwmViewManPage FvwmWinList
++ %fx_info.png%"FvwmWindowMenu" FvwmViewManPage FvwmWindowMenu
++ "" Nop
++ %fx_info.png%"fvwm-config" FvwmViewManPage fvwm-config
++ %fx_info.png%"fvwm-perllib" FvwmViewManPage fvwm-perllib
++ %fx_info.png%"fvwm-root" FvwmViewManPage fvwm-root
++ %fx_info.png%"fvwm-bug" FvwmViewManPage fvwm-bug
++ %fx_info.png%"fvwm-convert-2.2" FvwmViewManPage fvwm-convert-2.2
++ %fx_info.png%"fvwm-convert-2.4" FvwmViewManPage fvwm-convert-2.4
++ "" Nop
++ %fx_info.png%"fvwm-menu-desktop" FvwmViewManPage fvwm-menu-desktop
++ %fx_info.png%"fvwm-menu-directory" FvwmViewManPage fvwm-menu-directory
++ %fx_info.png%"fvwm-menu-headlines" FvwmViewManPage fvwm-menu-headlines
++ %fx_info.png%"fvwm-menu-xlock" FvwmViewManPage fvwm-menu-xlock
+
+#####
+# Browse directories trough the menu
+#####
+DestroyFunc FuncFvwmMenuDirectory
+AddToFunc FuncFvwmMenuDirectory
++ I PipeRead 'case "$0" in \
+ "$[fvwm_rom_path]"*) myexec="$[fvwm_rom_exec]" mypng=games-browse.png;; \
+ "$[fvwm_video_path]"*) myexec="$[fvwm_video_exec]" mypng=browse-videos.png;; \
+ "$[fvwm_audio_path]"*) myexec="$[fvwm_audio_exec]" mypng=browse-music.png;; \
+ "$[fvwm_image_path]"*) myexec="$[fvwm_image_exec]" mypng=browse-pics.png;; \
+ esac; \
+ test -f "$0"/.icontitle.png && mytitle="$0"/.icontitle.png; \
+ fvwm-menu-directory --icon-title "${mytitle:-folder_view.png}" --icon-file ${mypng:-file_text_view.png} \
+ --icon-dir general-fs.png --dir "$0" --exec-t="^${myexec:-emacsclient -n} *" \
+ --exec-file "^${myexec:-emacsclient -n}"'
+
+AddToFunc CentreWindow I PipeRead "echo $2Move $$(((($[vp.width]-$[w.width])/2)-$0))p $$(((($[vp.height]-$[w.height])/2)-$1))p"
+
+AddToFunc Jiggle I PipeRead "for ((y=$0;y>=0;y--)) do printf 'AnimatedMove w+%up w+%up\\nAnimatedMove w-%up w-%up\\n' ${y} ${y} ${y} ${y}; done"
+
+#####
+# WheelToggleShade
+#####
+DestroyFunc WheelToggleShade
+AddToFunc WheelToggleShade D WindowShade $0
+
+#####
+# DestroyOnHold
+#####
+DestroyFunc DestroyOnHold
+AddToFunc DestroyOnHold I Raise
++ C Schedule 100 Close
++ H Destroy
++ H Beep
+
+#####
+# Thumbnail
+# For a faster machine use -scale (slow -sample)
+#####
+DestroyFunc Thumbnail
+AddToFunc Thumbnail
++ I Raise
++ I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
++ I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \
+ "xwd -silent -id $[w.id] | convert -sample 128 -frame 1x1 \
+ -mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
+ && echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
+ || echo Nop"
++ I TestRc (Match) Test (f $[w.miniiconfile], f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) PipeRead \
+ "composite -geometry +2+4 $[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
+ $[FVWM_USERDIR]/icon.tmp.$[w.id].png; echo Nop"
++ I Iconify
+
+DestroyFunc DeThumbnail
+AddToFunc DeThumbnail
++ I PipeRead "echo Test \\(i \\$\\[Icon-$[w.id]\\]\\) WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
++ I TestRc (NoMatch) WindowStyle NoIconOverride, Icon
++ I Exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
++ I All (Iconic, CurrentPage) PlaceAgain icon
++ I UnsetEnv Icon-$[w.id]
+
+
+#####
+#
+#####
+DestroyFunc WindowListFunc
+AddToFunc WindowListFunc
++ I WindowShade False
++ I Iconify off
++ I Raise
++ I FlipFocus
+
+#####
+#
+#####
+DestroyFunc FuncAutoEnter
+AddToFunc FuncAutoEnter I Autohide HiddenConsole 500 500 N
+
+
+#####
+# Wallpaper browser
+#####
+DestroyFunc WallpaperBrowser
+AddToFunc WallpaperBrowser I PipeRead 'test ! -d "$0/.thumbs" && mkdir "$0/.thumbs"; \
+ for i in "$0/"*; do \
+ test -f "$0/.thumbs/${i##*/}" \
+ -a "${i}" -ot "$0/.thumbs/${i##*/}" || { \
+ convert -quality 0 -scale 42 "${i}" "png:$0/.thumbs/${i##*/}" 2>/dev/null \
+ || continue; \
+ }; \
+ done; \
+ fvwm-menu-directory --icon-title folder_view.png --icon-file __PIXMAP__ \
+ --icon-dir general-fs.png --dir "$0" --exec-file "^fvwm-root --dither -r" \
+ --exec-t="^gqview -s *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
+ -e "s#__PIXMAP__\\(.*\\)\\\"\\(.*/\\)\\(.*\\)\\\"#\\2.thumbs/\\3\\1\\2\\3#g"'
+
+
+#####
+# Switching desktops with wheel scroll, Shift+WhUP/DOWN
+#####
+DestroyFunc WheelScroll
+AddToFunc WheelScroll I PipeRead 'case $0 in \
+ up) test $[page.ny] -eq $$(($[desk.pagesy]-1)) -a $[page.nx] -lt $$(($[desk.pagesx]-1)) \
+ && echo GotoPage +1p 0 \
+ || echo GotoPage 0p +1p;; \
+ down) test $[page.ny] -eq 0 -a $[page.nx] -gt 0 \
+ && echo GotoPage -1p $$(($[desk.pagesy]-1)) \
+ || echo GotoPage 0p -1p;; \
+ esac'
+
+
+#####
+# Autohide behaviour
+#####
+AddToFunc Autohide
++ I ThisWindow ($0) Deschedule $[w.id]
++ I TestRc (!Match) Deschedule -$[w.id]
++ I ThisWindow ($0) ThisWindow (shaded) AutohideShow $1 $3
++ I TestRc (!Match) All ($0, !shaded) AutohideHide $2 $3
+
+AddToFunc AutohideShow
++ I Schedule $0 -$[w.id] WindowShade $1 off
++ I Schedule $0 -$[w.id] Raise
++ I Schedule $0 -$[w.id] Deschedule $[w.id]
++ I Schedule $0 -$[w.id] Deschedule -$[w.id]
+
+AddToFunc AutohideHide
++ I Schedule $0 $[w.id] WindowShade $1 on
++ I Schedule $0 $[w.id] Deschedule $[w.id]
++ I Schedule $0 $[w.id] Deschedule -$[w.id]
+
+#####
+# Miscellaneous Functions
+#####
+AddToFunc Move-or-Raise I Raise
++ M Move
++ D WindowShade Toggle
+
+AddToFunc Move-or-Iconify I Raise
++ M Move
++ D Iconify
+
+AddToFunc Resize-or-Raise I Raise
++ M Resize
++ D Lower
+
+DestroyFunc LockingSlide
+AddToFunc LockingSlide
++ I Test (!State 2) Break
++ I State 2 False
++ I AnimatedMove $0 $1
++ I State 2 True
+
+DestroyFunc NewWindowFunc
+AddToFunc NewWindowFunc
++ I ThisWindow (xmessage) Jiggle 2
+
+
+#####
+# FvwmPager
+#####
+Colorset 4 fg white, bg #a4a499
+Colorset 5 fg white, bg #bcbcaf
+Colorset 6 fg #63656e, bg #e4e2d4
+Colorset 7 fg #38362e, bg #e4e2d4, Plain
+Colorset 8 fg white, bg #e4e2d4
+DestroyModuleConfig FvwmPager: *
+*FvwmPager: Colorset * 5
+*FvwmPager: HilightColorset * 8
+*FvwmPager: WindowColorsets 6 4
+*FvwmPager: BalloonColorset * 7
+*FvwmPager: Font none
+*FvwmPager: SmallFont none
+*FvwmPager: Balloons All
+*FvwmPager: BalloonFont "xft:Liberation Sans:size=7:antialias=True:encoding=iso10646-1"
+*FvwmPager: BalloonYOffset +2
+*FvwmPager: BalloonBorderWidth 1
+*FvwmPager: UseSkipList
+*FvwmPager: MoveThreshold 0
+*FvwmPager: SolidSeparators
+*FvwmPager: WindowBorderWidth 1
+#*FvwmPager: MiniIcons
+
+#####
+# FvwmButtons
+#####
+Colorset 9 fg #38362e, bg #bfbfb1, RootTransparent buffer, Tint #e4e2d4 100
+Colorset 10 fg #38362e, bg #a4a499
+Colorset 11 fg #38362e, bg #e4e2d4
+DestroyModuleConfig FvwmShelf: *
+*FvwmShelf: Columns 22
+*FvwmShelf: Font "Shadow=1 1 SE:xft:Liberation Sans:size=8:antialias=True"
+#*FvwmShelf: Font "xft:Liberation Sans:size=8:antialias=True"
+*FvwmShelf: Colorset 9
+*FvwmShelf: Frame 1
+*FvwmShelf: Padding 2 2
+*FvwmShelf: Rows 72
+*FvwmShelf: (1x72, Action(Mouse 1) Next (CirculateHit, FvwmShelf) PipeRead 'echo LockingSlide $$(test $$(($[w.x]+$[w.width])) -le $[vp.width] && echo w$$(($[w.width]-$width))p || echo w-$$(($[w.width]-$width))p) keep; echo Next \\(CirculateHit, FvwmBar\\) Maximize ewmhiwa growright 0')
+*FvwmShelf: (22x2, Title(Side) " Terminal", Left, Icon shelf/gnome-terminal.png, Action(Mouse 1) `Exec "urxvt" exec urxvt`)
+*FvwmShelf: (22x2, Title(Side) " File Manager", Left, Icon shelf/file_manager.png, Action(Mouse 1) `Exec "ROX-Filer" exec rox`)
+*FvwmShelf: (22x2, Title(Side) " Editor", Left, Icon shelf/gnome-emacs.png, Action(Mouse 1) `Exec "emacs" exec emacs`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x2, Title(Side) " Web Browser", Left, Icon shelf/mozilla-swiftfox.png, Action(Mouse 1) `Exec "Swiftweasel" exec /usr/local/bin/firefox`)
+*FvwmShelf: (22x2, Title(Side) " Email Client", Left, Icon shelf/email.png, Action(Mouse 1) `Exec "Alpine" exec urxvt -g 126x38+198+150 -title Alpine -e /usr/local/bin/alpine.exp`)
+*FvwmShelf: (22x2, Title(Side) " Compose", Left, Icon shelf/inbox.png, Action(Mouse 1) `Exec "Alpine" exec urxvt -g 126x38+198+150 -title Alpine -e /usr/local/bin/compose.exp`)
+*FvwmShelf: (22x2, Title(Side) " News Reader", Left, Icon shelf/news.png, Action(Mouse 1) `Exec "KNode" exec kdocker knode`)
+*FvwmShelf: (22x2, Title(Side) " Jabber Client", Left, Icon shelf/im-jabber.png, Action(Mouse 1) `Exec "Gajim.py" exec gajim`)
+*FvwmShelf: (22x2, Title(Side) " IRC Client", Left, Icon shelf/xchat.png, Action(Mouse 1) `Exec "irssi" exec urxvt -g 115x26+0+442 -title irssi -e /usr/local/bin/irssi.exp`)
+*FvwmShelf: (22x2, Title(Side) " Downloader", Left, Icon shelf/d4x.png, Action(Mouse 1) `Exec "D4X" exec d4x`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x2, Title(Side) " Music Player", Left, Icon shelf/amarok.png, Action(Mouse 1) `Exec "Amarokapp" exec amarok`)
+*FvwmShelf: (22x2, Title(Side) " Audio Mixer", Left, Icon shelf/mixer.png, Action(Mouse 1) `Exec "kmix" exec kmix`)
+*FvwmShelf: (22x2, Title(Side) " Video Player", Left, Icon shelf/xine.png, Action(Mouse 1) `Exec "MPlayer" exec gmplayer`)
+*FvwmShelf: (22x2, Title(Side) " VLC Player", Left, Icon shelf/vlc.png, Action(Mouse 1) `Exec "." exec vlc`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x2, Title(Side) " Wifi Manager", Left, Icon shelf/wifi.png, Action(Mouse 1) `Exec "kwifimanager" exec kwifimanager`)
+*FvwmShelf: (22x2, Title(Side) " VPN Manager", Left, Icon shelf/vpn.png, Action(Mouse 1) `Exec kvpnc`))
+*FvwmShelf: (22x2, Title(Side) " GPG Manager", Left, Icon shelf/gpg.png, Action(Mouse 1) `Exec kgpg -k`))
+*FvwmShelf: (22x2, Title(Side) " Sticky Note", Left, Icon shelf/notes.png, Action(Mouse 1) `Exec exec knotes`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x2, Title(Side) " Kill Window", Left, Icon shelf/xkill.png, Action(Mouse 1) `Exec exec xkill`)
+*FvwmShelf: (22x2, Title(Side) " Lock Screen", Left, Icon shelf/lock.png, Action(Mouse 1) `Exec exec kdesktop_lock --forcelock`)
+*FvwmShelf: (22x2, Title(Side) " Show Desktop", Left, Icon shelf/sdesktop.png, Action(Mouse 1) `All (AcceptsFocus, CurrentPage, !Iconic, !Shaded) Thumbnail`)
+*FvwmShelf: (22x2, Title(Side) " Restart Fvwm", Left, Icon shelf/restart.png, Action(Mouse 1) `Restart`)
+*FvwmShelf: (22x2, Title(Side) " Quit Fvwm", Left, Icon shelf/quit.png, Action(Mouse 1) `Module FvwmScript FvwmScript-Quit`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x2, Title(Side) " NFS Codeine", Left, Icon shelf/nfs.png, Action(Mouse 1) `Exec "ROX-Filer" exec rox /var/autofs/net/nfs6`)
+*FvwmShelf: (22x2, Title(Side) " NFS Opium1", Left, Icon shelf/nfs.png, Action(Mouse 1) `Exec "ROX-Filer" exec rox /var/autofs/net/nfs1`)
+*FvwmShelf: (22x2, Title(Side) " NFS Opium2", Left, Icon shelf/nfs.png, Action(Mouse 1) `Exec "ROX-Filer" exec rox /var/autofs/net/nfs4`)
+*FvwmShelf: (22x2, Title(Side) " NFS Opium3", Left, Icon shelf/nfs.png, Action(Mouse 1) `Exec "ROX-Filer" exec rox /var/autofs/net/nfs3`)
+*FvwmShelf: (22x1, Colorset 10, Frame 0)
+*FvwmShelf: (22x8, Swallow "FvwmPager" "FvwmPager *")
+#*FvwmShelf: (5x2, Colorset 10, Frame 0, Icon shelf/calendar.png, Left, Action(mouse 1) `Exec exec /usr/local/bin/xdiary -startingWeekday Monday -european -noDiary`)
+*FvwmShelf: (5x2, Colorset 10, Frame 0, Icon shelf/calendar.png, Left, Action(mouse 1) `Exec exec rainlendar`)
+*FvwmShelf: (17x2, Colorset 10, Frame 0, Swallow FvwmApplet-DigitalClock `FvwmScript FvwmApplet-DigitalClock 10`)
+#*FvwmShelf: (22x2, Colorset 11, Swallow(Kill) xystray `Exec exec xystray -bg gray60 -iconrows 1 -iconcols 5`)
+*FvwmShelf: (22x2, Colorset 11, Swallow(Kill) stalonetray `Exec exec stalonetray --icon-gravity SW`)
+
+
+#####
+# DesktopControl, small control panel for switching desks
+#####
+DestroyModuleConfig DeskControl: *
+*DeskControl: Columns 1
+*DeskControl: Rows 3
+*DeskControl: Colorset 17
+*DeskControl: Frame 1
+*DeskControl: Padding 1 1
+*DeskControl: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-2"
+*DeskControl: (1x1, Title "<", Action(Mouse 1) GotoDesk -1)
+*DeskControl: (1x1, Title ">", Action(Mouse 1) GotoDesk 1)
+*DeskControl: (1x1, Id desk, Title "$[desk.n]", Action(Mouse 1) `Next (CirculateHit, DeskControl) PipeRead 'echo LockingSlide keep $$(test $[w.y] -lt 0 && echo 0 || echo w-$$(($[w.height]-$height))p)'`)
+
+
+#####
+# Taskbar
+#####
+DestroyModuleConfig FvwmBar: *
+*FvwmBar: Font "Shadow=1 1 SE:xft:Liberation Sans:size=8:antialias=True:encoding=iso10646-1"
+*FvwmBar: Colorset 9
+*FvwmBar: Frame 1
+*FvwmBar: Padding 2 2
+*FvwmBar: Rows 23
+*FvwmBar: Columns 72
+*FvwmBar: (72x3, Padding 0 0, Action(Mouse 1) `Next (CirculateHit, FvwmBar) PipeRead 'echo LockingSlide keep $$(test $$(($[w.y]+$[w.height])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'`)
+*FvwmBar: (6x20, Title(Side) " Launch", Left, Icon linux-arch2.png, Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +$left+$top 0 -100m`)
+*FvwmBar: (66x20, Swallow "FvwmIconMan" `FvwmIconMan`)
+
+
+#####
+# FvwmIconMan, managing windows in the taskbar
+#####
+Colorset 12 fg #38362e, bg #e4e2d4
+Colorset 13 fg #38362e, bg #a4a499
+DestroyModuleConfig FvwmIconMan: *
+*FvwmIconMan: ManagerGeometry 1x1
+*FvwmIconMan: ButtonGeometry 24x23
+*FvwmIconMan: FocusAndSelectButton down
+*FvwmIconMan: FocusButton down
+*FvwmIconMan: IconButton down
+*FvwmIconMan: PlainButton down
+*FvwmIconMan: SelectButton down
+*FvwmIconMan: Action Mouse 0 N sendcommand Nop
+*FvwmIconMan: Action Mouse 2 N sendcommand Thumbnail
+*FvwmIconMan: Action Mouse 1 N sendcommand "Iconify off", sendcommand RaiseLower, sendcommand FlipFocus
+*FvwmIconMan: Action Mouse 3 N sendcommand "Popup MenuFvwmWindowOps Rectangle +$left+$top 0 -100m"
+*FvwmIconMan: Colorset 12
+*FvwmIconMan: ReliefThickness 1
+*FvwmIconMan: Font "xft:Liberation Sans:size=8:antialias=True:encoding=iso10646-1"
+*FvwmIconMan: FocusAndSelectColorset 13
+*FvwmIconMan: FocusColorset 13
+*FvwmIconMan: Resolution Page
+*FvwmIconMan: DrawIcons Always
+*FvwmIconMan: FollowFocus True
+*FvwmIconMan: UseWinList True
+*FvwmIconMan: ShowOnlyIcons False
+*FvwmIconMan: Title ""
+*FvwmIconMan: Sort id
+
+Read ConfigFvwmTabs quiet
diff --git a/gitconfig b/gitconfig
new file mode 100644
index 0000000..0f84b09
--- /dev/null
+++ b/gitconfig
@@ -0,0 +1,13 @@
+[user]
+ name = Adrian C. (anrxc)
+ email = anrxc@sysphere.org
+ signingkey = D20A0618
+[color]
+ ui = auto
+[alias]
+ br = branch
+ ci = commit
+ co = checkout
+ df = diff
+ lg = log -p
+ st = status
diff --git a/gmrunrc b/gmrunrc
new file mode 100644
index 0000000..248e953
--- /dev/null
+++ b/gmrunrc
@@ -0,0 +1,47 @@
+# gmrun configuration file, using gmrun 0.9.2 on Arch GNU/Linux
+
+# {{{ Terminal
+Terminal = urxvt
+TermExec = ${Terminal} -e
+AlwaysInTerm = ssh telnet ftp links cplay mc pine alpine man irssi screen ipython
+# }}}
+
+# {{{ Window
+#Top = 300
+#Left = 450
+Width = 1270
+# }}}
+
+# {{{ History
+ShowLast = 1
+History = 256
+# }}}
+
+# {{{ Files
+ShowDotFiles = 1
+# }}}
+
+# {{{ Keys
+TabTimeout = 0
+# }}}
+
+# {{{ URL handlers
+# - %u - whole URL ("http://www.google.com")
+# - %s - in "man:printf" %s gets replaced with "printf"
+URL_file = rox %s
+URL_sh = sh -c '%s'
+URL_man = ${TermExec} 'man %s'
+URL_info = ${TermExec} 'info %s'
+URL_info = ${TermExec} 'info %s'
+URL_pd = ${TermExec} 'perldoc %s'
+URL_mailto = ${TermExec} 'alpine %s'
+URL_http = firefox -remote "openURL(%u, new-tab)"
+URL_readme = ${TermExec} 'less /usr/doc/%s/README'
+# }}}
+
+# {{{ Extension handlers
+EXT:ps = gv %s
+EXT:pdf = okular %s
+EXT:doc,rtf = /opt/openoffice/program/swriter %s
+EXT:txt,py,lua,pl,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am = emacsclient -n %s
+# }}}
diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf
new file mode 100644
index 0000000..1262cc7
--- /dev/null
+++ b/gnupg/gpg-agent.conf
@@ -0,0 +1,13 @@
+# anrxc' options for GnuPG Agent
+
+# Do not grab the keyboard
+no-grab
+# Cache settings
+max-cache-ttl 7200
+default-cache-ttl 7200
+max-cache-ttl-ssh 7200
+default-cache-ttl-ssh 7200
+# Preferred PIN entry program
+pinentry-program /usr/bin/pinentry-gtk-2
+# I have no use for the SmartCard daemon
+disable-scdaemon
diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf
new file mode 100644
index 0000000..83e9abb
--- /dev/null
+++ b/gnupg/gpg.conf
@@ -0,0 +1,190 @@
+# anrxc' options for GnuPG
+
+# Uncomment the following option to get rid of the copyright notice
+
+no-greeting
+
+# If you have more than 1 secret key in your keyring, you may want to
+# uncomment the following option and set your preferred keyid.
+
+default-key D20A0618
+
+# If you do not pass a recipient to gpg, it will ask for one. Using
+# this option you can encrypt to a default key. Key validation will
+# not be done in this case. The second form uses the default key as
+# default recipient.
+
+#default-recipient some-user-id
+default-recipient-self
+
+# By default GnuPG creates version 3 signatures for data files. This
+# is not strictly OpenPGP compliant but PGP 6 and most versions of PGP
+# 7 require them. To disable this behavior, you may use this option
+# or --openpgp.
+
+#no-force-v3-sigs
+
+# Because some mailers change lines starting with "From " to ">From "
+# it is good to handle such lines in a special way when creating
+# cleartext signatures; all other PGP versions do it this way too.
+# To enable full OpenPGP compliance you may want to use this option.
+
+no-escape-from-lines
+
+# If you do not use the Latin-1 (ISO-8859-1) charset, you should tell
+# GnuPG which is the native character set. Please check the man page
+# for supported character sets. This character set is only used for
+# Meta data and not for the actual message which does not undergo any
+# translation. Note that future version of GnuPG will change to UTF-8
+# as default character set.
+
+charset utf-8
+
+# Group names may be defined like this:
+# group mynames paige 0x12345678 joe patti
+#
+# Any time "mynames" is a recipient (-r or --recipient), it will be
+# expanded to the names "paige", "joe", and "patti", and the key ID
+# "0x12345678". Note there is only one level of expansion - you
+# cannot make an group that points to another group. Note also that
+# if there are spaces in the recipient name, this will appear as two
+# recipients. In these cases it is better to use the key ID.
+
+#group mynames paige 0x12345678 joe patti
+
+# Lock the file only once for the lifetime of a process. If you do
+# not define this, the lock will be obtained and released every time
+# it is needed - normally this is not needed.
+
+#lock-once
+
+# GnuPG can send and receive keys to and from a keyserver. These
+# servers can be HKP, email, or LDAP (if GnuPG is built with LDAP
+# support).
+#
+# Example HKP keyserver:
+# x-hkp://pgp.mit.edu
+#
+# Example email keyserver:
+# mailto:pgp-public-keys@keys.nl.pgp.net
+#
+# Example LDAP keyservers:
+# ldap://pgp.surfnet.nl:11370
+# ldap://keyserver.pgp.com
+#
+# Regular URL syntax applies, and you can set an alternate port
+# through the usual method:
+# x-hkp://keyserver.example.net:22742
+#
+# If you have problems connecting to a HKP server through a buggy http
+# proxy, you can use keyserver option broken-http-proxy (see below),
+# but first you should make sure that you have read the man page
+# regarding proxies (keyserver option honor-http-proxy)
+#
+# Most users just set the name and type of their preferred keyserver.
+# Most servers do synchronize with each other and DNS round-robin may
+# give you a quasi-random server each time.
+
+keyserver hkp://pgp.mit.edu
+#keyserver hkp://pks.aaiedu.hr
+#keyserver mailto:pgp-public-keys@keys.nl.pgp.net
+#keyserver ldap://pgp.surfnet.nl:11370
+#keyserver ldap://keyserver.pgp.com
+
+# Common options for keyserver functions:
+#
+# include-disabled = when searching, include keys marked as "disabled"
+# on the keyserver (not all keyservers support this).
+#
+# no-include-revoked = when searching, do not include keys marked as
+# "revoked" on the keyserver.
+#
+# verbose = show more information as the keys are fetched.
+# Can be used more than once to increase the amount
+# of information shown.
+#
+# use-temp-files = use temporary files instead of a pipe to talk to the
+# keyserver. Some platforms (Win32 for one) always
+# have this on.
+#
+# keep-temp-files = do not delete temporary files after using them
+# (really only useful for debugging)
+#
+# honor-http-proxy = if the keyserver uses HTTP, honor the http_proxy
+# environment variable
+#
+# broken-http-proxy = try to work around a buggy HTTP proxy
+#
+# auto-key-retrieve = automatically fetch keys as needed from the keyserver
+# when verifying signatures or when importing keys that
+# have been revoked by a revocation key that is not
+# present on the keyring.
+#
+# no-include-attributes = do not include attribute IDs (aka "photo IDs")
+# when sending keys to the keyserver.
+
+keyserver-options no-include-attributes no-include-revoked
+
+# Uncomment this line to display photo user IDs in key listings and
+# when a signature from a key with a photo is verified.
+
+#show-photos
+
+# Use this program to display photo user IDs
+#
+# %i is expanded to a temporary file that contains the photo.
+# %I is the same as %i, but the file isn't deleted afterwards by GnuPG.
+# %k is expanded to the key ID of the key.
+# %K is expanded to the long OpenPGP key ID of the key.
+# %t is expanded to the extension of the image (e.g. "jpg").
+# %T is expanded to the MIME type of the image (e.g. "image/jpeg").
+# %f is expanded to the fingerprint of the key.
+# %% is %, of course.
+#
+# If %i or %I are not present, then the photo is supplied to the
+# viewer on standard input. If your platform supports it, standard
+# input is the best way to do this as it avoids the time and effort in
+# generating and then cleaning up a secure temp file.
+#
+# The default program is "xloadimage -fork -quiet -title 'KeyID 0x%k' stdin"
+# On Mac OS X and Windows, the default is to use your regular image viewer.
+#
+# Some other viewers:
+# photo-viewer "qiv %i"
+# photo-viewer "ee %i"
+# photo-viewer "display -title 'KeyID 0x%k'"
+#
+# This one saves a copy of the photo ID in your home directory:
+# photo-viewer "cat > ~/photoid-for-key-%k.%t"
+#
+# Use your MIME handler to view photos:
+# photo-viewer "metamail -q -d -b -c %T -s 'KeyID 0x%k' -f GnuPG"
+photo-viewer "geeqie %i"
+
+# Passphrase agent
+#
+# We support the old experimental passphrase agent protocol as well
+# as the new Assuan based one (currently available in the "newpg" package
+# at ftp.gnupg.org/gcrypt/alpha/aegypten/). To make use of the agent, you have
+# to run an agent as daemon and use the option
+use-agent
+#
+# which tries to use the agent but will fallback to the regular mode
+# if there is a problem connecting to the agent. The normal way to
+# locate the agent is by looking at the environment variable
+# GPG_AGENT_INFO which should have been set during gpg-agent startup.
+# In certain situations the use of this variable is not possible, thus
+# the option
+#
+# --gpg-agent-info=<path>:<pid>:1
+#
+# may be used to override it.
+
+# PGP compatibility
+# http://www.gnupg.org/(en)/documentation/faqs.html#q5.1
+compress-algo 1
+
+# Prefer stronger digests and avoid SHA-1
+cert-digest-algo SHA512
+personal-digest-preferences SHA512
+default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
diff --git a/gtkrc-2.0 b/gtkrc-2.0
new file mode 100644
index 0000000..3be5fe7
--- /dev/null
+++ b/gtkrc-2.0
@@ -0,0 +1,30 @@
+include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"
+
+gtk-theme-name="Clearlooks"
+gtk-icon-theme-name="Tango"
+gtk-font-name="Liberation Sans 8"
+gtk-key-theme-name = "Emacs"
+
+style "user-font"
+{
+ font_name="Liberation Sans 8"
+}
+widget_class "*" style "user-font"
+
+# ROX-Filer custom icons
+#pixmap_path "/home/anrxc/.icons/rox-win"
+#style "normal" {
+# stock["gtk-close"] = {{"gtk-close.png"}}
+# stock["gtk-go-up"] = {{"gtk-go-up.png"}}
+# stock["gtk-home"] = {{"gtk-home.png"}}
+# stock["gtk-refresh"] = {{"gtk-refresh.png"}}
+# stock["gtk-zoom-in"] = {{"gtk-zoom-in.png"}}
+# stock["gtk-zoom-fit"] = {{"gtk-zoom-fit.png"}}
+# stock["gtk-jump-to"] = {{"gtk-jump-to-ltr.png"}}
+# stock["gtk-sort-ascending"] = {{"gtk-sort-ascending.png"}}
+# stock["gtk-help"] = {{"gtk-help.png"}}
+# stock["rox-show-hidden"] = {{"gtk-show-all.png"}}
+# stock["rox-show-details"] = {{"gtk-dialog-info.png"}}
+# stock["rox-select"] = {{"gtk-select-color.png"}}
+#}
+#widget "*" style "normal"
diff --git a/irssi/config b/irssi/config
new file mode 100644
index 0000000..b9544af
--- /dev/null
+++ b/irssi/config
@@ -0,0 +1,450 @@
+###
+# irssi configuration file, using irssi 0.8.14
+# - anrxc.sysphere.org
+#
+###############################################
+
+# I modified this copy to serve new users
+# as a template, it covers a lot of things:
+# + Contains
+# - Bouncer example
+# - Using SSL
+# - SILC
+# - Autojoin channels
+# - Completition/auto replacement
+# - Managing aliases with special variables
+# - Windows/channels auto arrangement and positioning
+# - Irssi proxy
+# + For explanations of the settings clause refer to:
+# - http://irssi.org/documentation/settings
+#
+# + Some scripts that I recommend and use:
+# - autorejoin.pl dns.pl mlock.pl
+# - namesaway.pl quitmsg.pl mail.pl
+# - usercount.pl nact.pl sysinfo.pl
+# - hilightwin.pl nm.pl crapbuster.pl
+# - screen_away.pl adv_windowlist.pl
+#
+# + I use this config in combination with the zenbarn theme
+
+servers = (
+ { # Standard connection
+ address = "irc.freenode.net";
+ chatnet = "fnode";
+ port = "6667";
+ autoconnect = "yes";
+ },
+
+ { # Standard connection
+ address = "irc.oftc.net";
+ chatnet = "oftc";
+ port = "6667";
+ autoconnect = "no";
+ },
+
+ { # SSL connection
+ address = "irc.sysphere.org";
+ chatnet = "sys";
+ port = "6697";
+ use_ssl = "yes";
+ # Automatic login
+ password = "xxxxxx";
+ autoconnect = "yes";
+ },
+
+ { # IRC bouncer connection
+ address = "polarhome.com";
+ chatnet = "bnc";
+ port = "14444";
+ # Automatic login
+ password = "xxxxxx";
+ use_ssl = "yes";
+ ssl_verify = "no";
+ autoconnect = "no";
+ },
+
+ { # SILC connection
+ address = "silc.silcnet.org";
+ chatnet = "silc";
+ port = "706";
+ },
+);
+
+chatnets = {
+ fnode = {
+ type = "IRC";
+ # Automatic login to nickserv
+ autosendcmd = "/msg nickserv identify xxxxxx";
+ max_kicks = "4";
+ max_modes = "3";
+ max_msgs = "5";
+ max_whois = "4";
+ };
+
+ oftc= {
+ type = "IRC";
+ # Automatic login to nickserv
+ autosendcmd = "/msg nickserv identify xxxxxx";
+ max_kicks = "1";
+ max_msgs = "3";
+ max_whois = "30";
+ };
+
+ sys = {
+ type = "IRC";
+ # Automatic login as an IRC operator
+ autosendcmd = "/oper nickname xxxxxx";
+ };
+
+ bnc = { type = "IRC"; };
+ silc = { type = "SILC"; };
+};
+
+channels = (
+ { name = "#sysphere"; chatnet = "sys"; autojoin = "Yes"; },
+ { name = "##slackware"; chatnet = "fnode"; autojoin = "Yes"; },
+ { name = "#archlinux"; chatnet = "fnode"; autojoin = "Yes"; },
+ { name = "#razmjenavjestina"; chatnet = "fnode"; autojoin = "Yes"; },
+ { name = "#awesome"; chatnet = "oftc"; autojoin = "Yes"; },
+ { name = "#ecryptfs"; chatnet = "oftc"; autojoin = "Yes"; },
+ { name = "silc"; chatnet = "silc"; autojoin = "No"; }
+);
+
+aliases = {
+ j = "join";
+ wjoin = "join -window";
+ wquery = "query -window";
+ leave = "part";
+ exit = "quit";
+ date = "time";
+ host = "userhost";
+ last = "lastlog";
+ say = "msg *";
+ wi = "whois";
+ wii = "whois $0 $0";
+ ww = "whowas";
+ w = "who";
+ n = "names";
+ m = "msg";
+ t = "topic";
+ c = "clear";
+ cl = "clear";
+ cls = "clear";
+ k = "kick";
+ kb = "kickban";
+ b = "ban";
+ ub = "unban";
+ ig = "ignore";
+ unig = "unignore";
+ sb = "scrollback";
+ wc = "window close";
+ wn = "window new hide";
+ goto = "sb goto";
+ chat = "dcc chat";
+ run = "script load";
+ uptime = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'";
+ calc = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
+ invlist = "mode $C +I";
+ q = "query";
+ ak = "amarok";
+ ec = "window close";
+ em = "me";
+ nixk = "nick";
+ mw = "me";
+ mne = "me";
+ wm = "window move";
+ awat = "away";
+ gone = "away M-x work-mode";
+ afk = "me afk: [detached]";
+ awk = "me afk: Out of my mind. back in 5 minutes.";
+ sleep = "me invokes: M-x sleep-mode";
+ uc = "statusbar window add usercount";
+ nact = "statusbar window add nact";
+ cb = "crapbuster";
+ hideset = "set activity_hide_level parts joins quits nicks modes";
+ hideclear = "set -c activity_hide_level";
+ ignoreall = "/ignore $C CRAP NOTICES SNOTES CTCPS JOINS PARTS QUITS KICKS MODES WALLOPS NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS";
+ slap = "me slaps $0 around with a small 50lb Unix Manual";
+ bslap = "me slaps $0 around a bit with a 'Get a Life' HOWTO";
+ rtfm = "msg $C $0: http://www.catb.org/~esr/jargon/html/R/RTFM.html";
+ google = "msg $C $0: http://www.google.com";
+ hackers = "msg $C $0: http://www.hackersmovie.com/";
+};
+
+completions = {
+ ":9" = { value = ":)"; auto = "yes"; };
+ ".)" = { value = ":)"; auto = "yes"; };
+ ".-9" = { value = ":)"; auto = "yes"; };
+ ":-9" = { value = ":)"; auto = "yes"; };
+ ".-)" = { value = ":)"; auto = "yes"; };
+ ".9" = { value = ":)"; auto = "yes"; };
+ ":=" = { value = ":)"; auto = "yes"; };
+ ":-=" = { value = ":)"; auto = "yes"; };
+ ";9" = { value = ";)"; auto = "yes"; };
+ ",)" = { value = ";)"; auto = "yes"; };
+ ",-9" = { value = ";)"; auto = "yes"; };
+ ";-9" = { value = ";)"; auto = "yes"; };
+ ",-)" = { value = ";)"; auto = "yes"; };
+ ",9" = { value = ";)"; auto = "yes"; };
+ ";=" = { value = ";)"; auto = "yes"; };
+ ";-=" = { value = ";)"; auto = "yes"; };
+};
+
+statusbar = {
+ # formats:
+ # when using {templates}, the template is shown only if it's argument isn't
+ # empty unless no argument is given. for example {sb} is printed always,
+ # but {sb $T} is printed only if $T isn't empty.
+
+ items = {
+ # start/end text in statusbars
+ barstart = "{sbstart}";
+ barend = "{sbend}";
+
+ topicbarstart = "{topicsbstart}";
+ topicbarend = "{topicsbend}";
+
+ # treated "normally", you could change the time/user name to whatever
+ time = "{sb $Z}";
+ user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
+
+ # treated specially .. window is printed with non-empty windows,
+ # window_empty is printed with empty windows
+ window = "{sb $winref:$itemname{sbmode $M}}";
+ window_empty = "{sb $winref{sbservertag $tag}}";
+ prompt = "{prompt $[.15]itemname}";
+ prompt_empty = "{prompt $winname}";
+ topic = " $topic";
+ topic_empty = " Irssi";
+
+ # all of these treated specially, they're only displayed when needed
+ lag = "{sb Lag: $0-}";
+ act = "{sb Act: $0-}";
+ more = "-- more --";
+ };
+
+ # there's two type of statusbars. root statusbars are either at the top
+ # of the screen or at the bottom of the screen. window statusbars are at
+ # the top/bottom of each split window in screen.
+ default = {
+ # the "default statusbar" to be displayed at the bottom of the window.
+ # contains all the normal items.
+ window = {
+ disabled = "no";
+
+ # window, root
+ type = "window";
+ # top, bottom
+ placement = "bottom";
+ # number
+ position = "1";
+ # active, inactive, always
+ visible = "active";
+
+ # list of items in statusbar in the display order
+ items = {
+ barstart = { priority = "100"; };
+ #time = { };
+ user = { };
+ window = { };
+ window_empty = { };
+ lag = { priority = "-1"; };
+ more = { priority = "-1"; alignment = "right"; };
+ barend = { priority = "100"; alignment = "right"; };
+ usercount = { };
+ nact = { };
+ mail = { };
+ };
+ };
+
+ # statusbar to use in inactive split windows
+ window_inact = {
+ type = "window";
+ placement = "bottom";
+ position = "1";
+ visible = "inactive";
+ items = {
+ barstart = { priority = "100"; };
+ window = { };
+ window_empty = { };
+ more = { priority = "-1"; alignment = "right"; };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+
+ # we treat input line as yet another statusbar :) It's possible to
+ # add other items before or after the input line item.
+ prompt = {
+ type = "root";
+ placement = "bottom";
+ # we want to be at the bottom always
+ position = "100";
+ visible = "always";
+ items = {
+ prompt = { priority = "-1"; };
+ prompt_empty = { priority = "-1"; };
+ # treated specially, this is the real input line.
+ input = { priority = "10"; };
+ };
+ };
+
+ # topicbar
+ topic = {
+ type = "root";
+ placement = "top";
+ position = "1";
+ visible = "always";
+ items = {
+ topicbarstart = { priority = "100"; };
+ topic = { };
+ topic_empty = { };
+ topicbarend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ awl_0 = {
+ items = {
+ barstart = { priority = "100"; };
+ awl_0 = { };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ };
+};
+
+settings = {
+ core = {
+ real_name = "aic";
+ user_name = "anrxc";
+ nick = "anrxc";
+ settings_autosave = "off";
+ awaylog_file = "~/.irssi/irclogs/away.log";
+ awaylog_level = "msgs hilight";
+ log_create_mode = "600";
+ };
+
+ "fe-common/core" = {
+ theme = "zenbarn";
+ timestamps = "yes";
+ autocreate_own_query = "no";
+ autocreate_query_level = "DCCMSGS";
+ use_status_window = "no";
+ use_msgs_window = "yes";
+ autolog = "yes";
+ autolog_path = "~/.irssi/irclogs/$tag/$0.log";
+ emphasis_multiword = "on";
+ emphasis_replace = "on";
+ autoclose_windows = "on";
+ hide_server_tags = "on";
+ show_own_nickchange_once = "on";
+ bell_beeps = "yes";
+ beep_msg_level = "MSGS NOTICES INVITES DCC DCCMSGS HILIGHT";
+ #not working, wtf?
+ #recode_fallback = "cp1250";
+ #term_charset = "utf-8";
+ };
+
+ "irc/core" = {
+ alternate_nick = "aic";
+ ctcp_version_reply = "irssi v$J ($sysname)";
+ ctcp_userinfo_reply = "$Y ($X)";
+ };
+
+ "fe-text" = { term_force_colors = "on"; actlist_sort = "refnum"; };
+
+ proxy = {
+ irssiproxy_password = "xxxxxx";
+ irssiproxy_ports = "fnode=25000 oftc=25001";
+ };
+
+ "perl/core/scripts" = {
+ autorejoin_channels = "#sysphere #slackware-hr";
+ awl_display_key = "$Q%G:%n$H$C$S";
+ nact_devices = "eth0";
+ neat_maxlength = "8";
+ neat_right_mode = "no";
+ neat_left_actions = "no";
+ nicklist_automode = "SCREEN";
+ usercount_show_zero = "no";
+ usercount_show_halfops = "no";
+ mail_mailboxes = "inbox=~/Mail/INBOX,";
+ mail_format = "%u/%t";
+ crapbuster_levels = "JOINS PARTS QUITS NICKS CLIENTCRAP CRAP MODE TOPICS KICKS";
+ neat_colorize = "yes";
+ };
+};
+
+hilights = (
+ { text = "anrxc"; nick = "yes"; word = "yes"; },
+ { text = "vicious"; nick = "no"; word = "yes"; }
+);
+
+logs = { };
+
+ignores = (
+ { mask = "rilix"; level = "ALL"; },
+ { mask = "sysms"; level = "ALL"; },
+ { mask = "rico"; level = "ALL"; }
+ # Also see hideclear and ignoreall aliases
+ { level = "JOINS PARTS QUITS"; channels = ( "#archlinux" ); }
+);
+
+windows = {
+ 1 = {
+ immortal = "yes";
+ name = "(status)";
+ level = "ALL";
+ sticky = "yes";
+ parent = "2";
+ };
+
+ 2 = {
+ items = (
+ {
+ type = "CHANNEL";
+ chat_type = "IRC";
+ name = "#awesome";
+ tag = "oftc";
+ }
+ );
+ };
+
+ 3 = {
+ items = (
+ {
+ type = "CHANNEL";
+ chat_type = "IRC";
+ name = "#ecryptfs";
+ tag = "oftc";
+ }
+ );
+ };
+
+ 4 = {
+ items = (
+ {
+ type = "CHANNEL";
+ chat_type = "IRC";
+ name = "#archlinux";
+ tag = "fnode";
+ }
+ );
+ };
+
+ 5 = {
+ items = (
+ {
+ type = "CHANNEL";
+ chat_type = "IRC";
+ name = "##slackware";
+ tag = "fnode";
+ }
+ );
+ };
+
+ 6 = { name = "hilight"; sticky = "yes"; };
+};
+
+mainwindows = {
+ 2 = { first_line = "7"; lines = "22"; };
+ 4 = { first_line = "1"; lines = "5"; };
+};
diff --git a/irssi/zenbarn.theme b/irssi/zenbarn.theme
new file mode 100644
index 0000000..994ec42
--- /dev/null
+++ b/irssi/zenbarn.theme
@@ -0,0 +1,271 @@
+###
+# irssi theme file, using irssi 0.8.14
+# - anrxc.sysphere.org
+#
+###############################################
+
+# Zenbarn irssi theme
+#
+# This theme makes sense only in the context of Zenburn color
+# pallete. You can find color schemes for all popular terminal
+# emulators on the Zenburn homepage:
+# - http://slinky.imukuppi.org/zenburnpage/
+#
+# I personally use nm.pl for aligning nicknames, which also provides
+# complete coloring for them. Again, this theme was written with that
+# in mind, without it it could or would not look like crap.
+#
+# This theme is not complete. I use it daily and when I come across
+# something I don't like...
+
+
+# default foreground color (%N) - -1 is the "default terminal color"
+default_color = "-1";
+
+# print timestamp/servertag at the end of line, not at beginning
+info_eol = "false";
+
+# these characters are automatically replaced with specified color
+replaces = { "[]=" = "%K$*%n"; };
+
+abstracts = {
+ # Generic
+ #
+ # reserved spaces for nickname alignment
+ spacer = "$[-7]0";
+ # text to insert at the beginning of each non-message line
+ line_start = " ";
+ # timestamp styling
+ timestamp = "%Y$*%N|";
+ # any kind of text that needs hilighting
+ hilight = "%_$*%_";
+
+ # any kind of error message
+ error = "%Y$*%n";
+ # channel name is printed
+ channel = "%B%_$*%_%n";
+ # nick is printed
+ nick = "%W%_$*%_";
+ # nick host is printed
+ nickhost = "%b(%b$0-%b)%b";
+ # server name is printed
+ server = "%R%_$*%_";
+ # some kind of comment is printed
+ comment = "[%Y$*%n]";
+ # reason for something is printed (part, quit, kick, ..)
+ reason = "{comment $*}";
+ # mode change is printed ([+o nick])
+ mode = "{comment $*}";
+
+
+ # Channel specific
+ #
+ # highlighted nick/host is printed (joins)
+ channick_hilight = "%K$*%n";
+ chanhost_hilight = "{nickhost %R$*%n}";
+ # nick/host is printed (parts, quits, etc.)
+ channick = "%c$*%n";
+ chanhost = "{nickhost $*}";
+ # highlighted channel name is printed
+ channelhilight = "%B$*%n";
+ # ban/ban exception/invite list mask is printed
+ ban = "%R$*%n";
+
+
+ # Messages
+ #
+ # the basic styling of how to print message, $0 = nick mode, $1 = nick
+ msgnick = "$0$1-%w|%n %|";
+ # $0 = nick mode, $1 = nick
+ ownmsgnick = "{msgnick $0 $1-%R}%n";
+ ownnick = "%W$*%n";
+ # public message in channel, $0 = nick mode, $1 = nick
+ pubmsgnick = "{msgnick $0 $1-}";
+ pubnick = "%N$*%n";
+ pmsgnick = "%W$0%n$1-%w|%n %|";
+ # public message in channel meant for me, $0 = nick mode, $1 = nick
+ pubmsgmenick = "{msgnick $0 $1-}";
+ menick = "%Y$*%n";
+ # public highlighted message in channel
+ # $0 = highlight color, $1 = nick mode, $2 = nick
+ pubmsghinick = "{msgnick $1 $0$2-%n}";
+ # channel name is printed with message
+ msgchannel = "%K:%R$*%n";
+ # private message, $0 = nick, $1 = host
+ privmsg = "[%c$0%b(%b$1-%b)%n] ";
+ # private message from you, $0 = "msg", $1 = target nick
+ ownprivmsg = "[%b$0%b(%c$1-%b)%n] ";
+ # own private message in query
+ ownprivmsgnick = "{pmsgnick $*}";
+ ownprivnick = "%W$*%n";
+ # private message in query
+ privmsgnick = "{pmsgnick %R$*%n}";
+
+
+ # Actions (/ME)
+ #
+ # used internally by this theme
+ action_core = "{spacer} %R* $*%n";
+ # generic one that's used by most actions
+ action = "{action_core $*} ";
+ # own action, both private/public
+ ownaction = "{action $*}";
+ # own action with target, both private/public
+ ownaction_target = "{action_core $0}%K:%R$1%n ";
+ # private action sent by others
+ pvtaction = "%R* $*%n ";
+ pvtaction_query = "{pvtaction $*}";
+ # public action sent by others
+ pubaction = "{action $*}";
+
+
+ # IRC events
+ #
+ # whois
+ whois = "%# $[8]0 : $1-";
+ # notices
+ ownnotice = "[%R$0%K(%R$1-%K)]%n ";
+ notice = "%K-%M$*%K-%n ";
+ pubnotice_channel = "%K:%m$*";
+ pvtnotice_host = "%K(%m$*%K)";
+ servernotice = "%r!$*%n ";
+
+
+ # CTCPs
+ ownctcp = "[%r$0%K(%R$1-%K)] ";
+ ctcp = "%R$*%n";
+
+
+ # wallops
+ wallop = "%W$*%n: ";
+ wallop_nick = "%n$*";
+ wallop_action = "%W * $*%n ";
+
+
+ # netsplits
+ netsplit = "%W$*%n";
+ netjoin = "%W$*%n";
+
+
+ # /names list
+ names_prefix = "";
+ names_nick = "[%_$0%_$1-] ";
+ names_nick_op = "{names_nick $*}";
+ names_nick_halfop = "{names_nick $*}";
+ names_nick_voice = "{names_nick $*}";
+ names_users = "[%c$*%n]";
+ names_channel = "%B$*%n";
+
+
+ # DCC
+ dcc = "%r$*%n";
+ dccfile = "%_$*%_";
+
+
+ # DCC chat, own msg/action
+ dccownmsg = "[%r$0%K($1-%K)%n] ";
+ dccownnick = "%R$*%n";
+ dccownquerynick = "%W$*%n";
+ dccownaction = "{action $*}";
+ dccownaction_target = "{action_core $0}%K:%c$1%n ";
+
+
+ # DCC chat, others
+ dccmsg = "[%R$1-%K(%r$0%K)%n] ";
+ dccquerynick = "%R$*%n";
+ dccaction = "%W (*dcc*) $*%n %|";
+
+
+ # Statusbar
+ #
+ # default background for all statusbars
+ sb_background = "%0%G";
+ # background for prompt / input line
+ sb_prompt_bg = "%n";
+ # background for info statusbar
+ sb_info_bg = "%7";
+
+ # text at the beginning of statusbars
+ sbstart = "";
+ # text at the end of statusbars
+ sbend = "";
+ #
+ topicsbstart = "";
+ topicsbend = "";
+
+ # entry prompt
+ prompt = "%Y>%n ";
+
+ # statusbar items
+ sb = "%n$* | %n";
+ # user mode
+ sbmode = "(%n+%n$*)";
+ # away display
+ sbaway = " (%Yaway%n)";
+ # server display
+ sbservertag = ":$0";
+ # mode display
+ sbnickmode = "$0";
+
+ # Statusbar activity
+ #
+ # ',' separator
+ sb_act_sep = "%G$*";
+ # normal text
+ sb_act_text = "%Y$*";
+ # public message
+ sb_act_msg = "%Y$*";
+ # hilight
+ sb_act_hilight = "%Y$*";
+ # hilight with specified color, $0 = color, $1 = text
+ sb_act_hilight_color = "$0$1-%n";
+
+
+ # Scripts
+ #
+ # user count
+ sb_usercount = "{sb %_$0%_ (%n$1-)%n}";
+ # operators are printed
+ sb_uc_ircops = "%_*%_$*";
+ # channel operators are printed
+ sb_uc_ops = "%_@%_$*";
+ # half operators are printed
+ sb_uc_halfops = "%_%%%_$*";
+ # voiced users are printed
+ sb_uc_voices = "%_+%_$*";
+ # normal users are printed
+ sb_uc_normal = "$*";
+ # separator
+ sb_uc_space = " ";
+
+ # Nact network usage
+ nact_display = "Network: %n$2%_/%n$0%_/%n$5";
+};
+
+
+# Override irssi core settings
+formats = {
+ "fe-common/core" = {
+ # Weechat-like notices
+ #
+ # channels joins
+ join = "{spacer}%Y--> {channick $0} {chanhost $1} %Nhas joined";
+ # channel parts
+ part = "{spacer}%G<-- {channick $0} %Nhas left";
+ # channel kicks
+ kick = "{spacer}%G<-- {channick $2} %Nkicked {channick $0} ($3)";
+ # channels quits
+ quit = "{spacer}%G<-- {channick $0} %Nhas quit irc";
+ # channels nick changes
+ nick_changed = "{spacer}%Y-!-%Y {channick $0} %Nis now known as {channick $1}";
+ # channel topic changes
+ new_topic = "{nick $0} %Ntopic change -> {channel $1} to: $2";
+
+ # text to insert at the beginning of each non-message line
+ line_start_irssi = "";
+ # timestamp styling
+ timestamp = "{timestamp %%H:%%M} ";
+ };
+ "fe-common/irc" = {
+ };
+};
diff --git a/pinerc b/pinerc
new file mode 100644
index 0000000..82c3fd2
--- /dev/null
+++ b/pinerc
@@ -0,0 +1,827 @@
+#
+# Alpine configuration file, using alpine 2.00 on Arch GNU/Linux
+# * Adrian C. <anrxc.sysphere.org>
+#
+# - I removed some filters and addresses before sharing,
+# all such changes are noted with "REMOVED"
+#
+
+# Over-rides your full name from Unix password file. Required for PC-Pine.
+personal-name=anrxc
+
+# Sets domain part of From: and local addresses in outgoing mail.
+user-domain=sysphere.org
+
+# List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
+smtp-server=mail.t-com.hr
+
+# NNTP server for posting news. Also sets news-collections for news reading.
+nntp-server=news.t-com.hr,
+ news.eternal-september.org/user=anrxc,
+ news.gmane.org
+
+# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
+# Normal Unix default is the local INBOX (usually /usr/spool/mail/$USER).
+inbox-path=~/mail/Inbox
+
+# List of folder pairs; the first indicates a folder to archive, and the
+# second indicates the folder read messages in the first should
+# be moved to.
+incoming-archive-folders=
+
+# List of folders, assumed to be in first folder collection,
+# offered for pruning each month. For example: mumble
+pruned-folders=
+
+# Over-rides default path for sent-mail folder, e.g. =old-mail (using first
+# folder collection dir) or ={host2}sent-mail or ="" (to suppress saving).
+# Default: sent-mail (Unix) or SENTMAIL.MTX (PC) in default folder collection.
+default-fcc=~/mail/Sent
+
+# Over-rides default path for saved-msg folder, e.g. =saved-messages (using 1st
+# folder collection dir) or ={host2}saved-mail or ="" (to suppress saving).
+# Default: saved-messages (Unix) or SAVEMAIL.MTX (PC) in default collection.
+default-saved-msg-folder=~/mail/Saved
+
+# Over-rides default path for postponed messages folder, e.g. =pm (which uses
+# first folder collection dir) or ={host4}pm (using home dir on host4).
+# Default: postponed-msgs (Unix) or POSTPOND.MTX (PC) in default fldr coltn.
+postponed-folder=~/mail/Outbox
+
+# If set, specifies where already-read messages will be moved upon quitting.
+read-message-folder=
+
+# If set, specifies where form letters should be stored.
+form-letter-folder=
+
+# Contains the actual signature contents as opposed to the signature filename.
+# If defined, this overrides the signature-file. Default is undefined.
+literal-signature=
+
+# Over-rides default path for signature file. Default is ~/.signature
+signature-file=~/.sigpg
+
+# List of features; see Pine's Setup/options menu for the current set.
+# e.g. feature-list= select-without-confirm, signature-at-bottom
+# Default condition for all of the features is no-.
+feature-list=signature-at-bottom,
+ include-text-in-reply,
+ enable-aggregate-command-set,
+ enable-bounce-cmd,
+ enable-flag-cmd,
+ prefer-plain-text,
+ no-expunge-without-confirm,
+ expunge-without-confirm-everywhere,
+ quit-without-confirm,
+ select-without-confirm,
+ no-slash-collapses-entire-thread,
+ enable-sigdashes,
+ expose-hidden-config,
+ allow-changing-from,
+ enable-alternate-editor-cmd,
+ disable-sender,
+ warn-if-blank-to-and-cc-and-newsgroups,
+ warn-if-blank-subject,
+ enable-msg-view-urls,
+ enable-msg-view-web-hostnames,
+ quell-charset-warning,
+ enable-multiple-newsrcs,
+ hide-nntp-path,
+ news-post-without-validation,
+ enable-flag-screen-keyword-shortcut,
+ enable-full-header-cmd,
+ enable-unix-pipe-cmd,
+ enable-8bit-esmtp-negotiation,
+ enable-8bit-nntp-posting,
+ downgrade-multipart-to-text,
+ confirm-role-even-for-default,
+ no-enable-incoming-folders,
+ no-single-column-folder-list,
+ no-vertical-folder-list,
+ fcc-without-attachments,
+ quell-timezone-comment-when-sending,
+ scramble-message-id,
+ no-enable-mouse-in-xterm,
+ enable-newmail-in-xterm-icon,
+ no-spell-check-before-sending,
+ busy-cue-spinner-only,
+ next-thread-without-confirm,
+ return-to-inbox-without-confirm,
+ compose-sets-newsgroup-without-confirm,
+ enhanced-fancy-thread-support,
+ thread-index-shows-important-color,
+ no-thread-sorts-by-arrival,
+ enable-topal-hack,
+ no-news-approximates-new-status,
+ convert-dates-to-localtime
+
+# Pine executes these keys upon startup (e.g. to view msg 13: i,j,1,3,CR,v)
+initial-keystroke-list=i
+
+# Only show these headers (by default) when composing messages
+default-composer-hdrs=
+
+# When viewing messages, include this list of headers
+viewer-hdrs=Date,
+ From,
+ To,
+ Cc,
+ Subject,
+ User-Agent,
+ X-CRM114-Status
+
+# When viewing messages, number of blank spaces between left display edge and text
+viewer-margin-left=
+
+# When viewing messages, number of blank spaces between right display edge and text
+viewer-margin-right=
+
+# When viewing messages, number of lines of quote displayed before suppressing
+quote-suppression-threshold=
+
+# Determines default folder name for Saves...
+# Choices: default-folder, by-sender, by-from, by-recipient, last-folder-used.
+# Default: "default-folder", i.e. "saved-messages" (Unix) or "SAVEMAIL" (PC).
+saved-msg-name-rule=
+
+# Determines default name for Fcc...
+# Choices: default-fcc, by-recipient, last-fcc-used.
+# Default: "default-fcc" (see also "default-fcc=" variable.)
+fcc-name-rule=
+
+# Sets presentation order of messages in Index. Choices:
+# subject, from, arrival, date, size. Default: "arrival".
+sort-key=tHread
+
+# Sets presentation order of address book entries. Choices: dont-sort,
+# fullname-with-lists-last, fullname, nickname-with-lists-last, nickname
+# Default: "fullname-with-lists-last".
+addrbook-sort-rule=
+
+# Sets presentation order of folder list entries. Choices: alphabetical,
+# alpha-with-dirs-last, alpha-with-dirs-first.
+# Default: "alpha-with-directories-last".
+folder-sort-rule=
+
+# Sets the default folder and collectionoffered at the Goto Command's prompt.
+goto-default-rule=
+
+# Sets message which cursor begins on. Choices: first-unseen, first-recent,
+# first-important, first-important-or-unseen, first-important-or-recent,
+# first, last. Default: "first-unseen".
+incoming-startup-rule=first-unseen
+
+# Allows a default answer for the prune folder questions. Choices: yes-ask,
+# yes-no, no-ask, no-no, ask-ask, ask-no. Default: "ask-ask".
+pruning-rule=no-ask
+
+# Controls behavior when reopening an already open folder.
+folder-reopen-rule=yes-yes
+
+# Style that MESSAGE INDEX is displayed in when threading.
+threading-display-style=struct
+
+# Style of THREAD INDEX or default MESSAGE INDEX when threading.
+threading-index-style=coll
+
+# When threading, character used to indicate collapsed messages underneath.
+threading-indicator-character=
+
+# When threading, character used to indicate expanded messages underneath.
+threading-expanded-character=
+
+# When threading, character used to indicate this is the last reply
+# to the parent of this message.
+threading-lastreply-character=
+
+# Reflects capabilities of the display you have. Default: US-ASCII.
+# Typical alternatives include ISO-8859-x, (x is a number between 1 and 9).
+character-set=UTF-8
+
+# Pine will try to convert from this charset value to your display
+# charset whenever it has no information about the charset of the mail.
+assumed-charset=windows-1250
+
+# Specifies the program invoked by ^_ in the Composer,
+# or the "enable-alternate-editor-implicitly" feature.
+editor=emacsclient
+
+# Specifies the program invoked by ^T in the Composer.
+speller=~/code/bin/alspell.sh
+
+# Specifies the column of the screen where the composer should wrap.
+composer-wrap-column=72
+
+# Specifies the string to insert when replying to a message.
+reply-indent-string=
+
+# Specifies the introduction to insert when replying to a message.
+reply-leadin=
+
+# Specifies the string to use when sending a message with no to or cc.
+empty-header-message=
+
+# Program to view images (e.g. GIF or TIFF attachments).
+image-viewer=
+
+# If "user-domain" not set, strips hostname in FROM address. (Unix only)
+use-only-domain-name=
+
+# This variable takes a list of programs that message text is piped into
+# after MIME decoding, prior to display.
+# Topal
+#display-filters=_BEGINNING("-----BEGIN PGP ")_ /usr/local/bin/topal -display _TMPFILE_ _RESULTFILE_
+# PinePG
+display-filters=_LEADING("-----BEGIN PGP MESSAGE-----")_ /usr/local/src/pinepg/decrypt _RESULTFILE_ _DATAFILE_ _PREPENDKEY_,
+ _LEADING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/local/src/pinepg/verify _TMPFILE_ _RESULTFILE_
+
+# This defines a program that message text is piped into before MIME
+# encoding, prior to sending
+# Topal
+#sending-filters=/usr/local/bin/topal -send _TMPFILE_ _RESULTFILE_ _RECIPIENTS_,
+# /usr/local/bin/topal -sendmime _TMPFILE_ _RESULTFILE_ _MIMETYPE_ _RECIPIENTS_
+# PinePG
+sending-filters=/usr/local/src/pinepg/clearsign _RESULTFILE_ _DATAFILE_ _PREPENDKEY_,
+ /usr/local/src/pinepg/encrypt _RECIPIENTS_ _RESULTFILE_ _DATAFILE_ _PREPENDKEY_
+
+# A list of alternate addresses the user is known by
+alt-addresses=REMOVED
+
+# A list of keywords for use in categorizing messages
+keywords=
+
+# This is a list of formats for address books. Each entry in the list is made
+# up of space-delimited tokens telling which fields are displayed and in
+# which order. See help text
+addressbook-formats=
+
+# This gives a format for displaying the index. It is made
+# up of space-delimited tokens telling which fields are displayed and in
+# which order. See help text
+index-format=
+
+# The number of lines of overlap when scrolling through message text
+viewer-overlap=
+
+# Number of lines from top and bottom of screen where single
+# line scrolling occurs.
+scroll-margin=
+
+# The number of seconds to sleep after writing a status message
+status-message-delay=
+
+# The approximate number of seconds between checks for new mail
+mail-check-interval=
+
+# The approximate number of seconds between checks for new mail in folders
+# other than the current folder and inbox.
+# Default is same as mail-check-interval
+mail-check-interval-noncurrent=
+
+# The minimum number of seconds between checks for new mail in a Mail Drop.
+# This is always effectively at least as large as the mail-check-interval
+maildrop-check-minimum=
+
+# For newsgroups accessed using NNTP, only messages numbered in the range
+# lastmsg-range+1 to lastmsg will be considered
+nntp-range=500
+
+# Full path and name of NEWSRC file
+newsrc-path=
+
+# Path and filename of news configation's active file.
+# The default is typically "/usr/lib/news/active".
+news-active-file-path=
+
+# Directory containing system's news data.
+# The default is typically "/usr/spool/news"
+news-spool-directory=
+
+# Path and filename of the program used to upload text from your terminal
+# emulator's into Pine's composer.
+upload-command=
+
+# Text sent to terminal emulator prior to invoking the program defined by
+# the upload-command variable.
+# Note: _FILE_ will be replaced with the temporary file used in the upload.
+upload-command-prefix=
+
+# Path and filename of the program used to download text via your terminal
+# emulator from Pine's export and save commands.
+download-command=
+
+# Text sent to terminal emulator prior to invoking the program defined by
+# the download-command variable.
+# Note: _FILE_ will be replaced with the temporary file used in the downlaod.
+download-command-prefix=
+
+# Sets the search path for the mailcap configuration file.
+# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
+mailcap-search-path=
+
+# Sets the search path for the mimetypes configuration file.
+# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
+mimetype-search-path=
+
+# List of programs to open Internet URLs (e.g. http or ftp references).
+url-viewers=/usr/local/bin/firefox,/usr/bin/links
+
+# The maximum number of non-stayopen remote connections that pine will use
+max-remote-connections=
+
+# A list of folders that should be left open once opened (INBOX is implicit)
+stay-open-folders=
+
+# Specifies the number of dead letter files to keep when canceling.
+dead-letter-files=
+
+# List of incoming msg folders besides INBOX, e.g. ={host2}inbox, {host3}inbox
+# Syntax: optnl-label {optnl-imap-host-name}folder-path
+incoming-folders=
+
+# List of directories where saved-message folders may be. First one is
+# the default for Saves. Example: Main {host1}mail/[], Desktop mail\[]
+# Syntax: optnl-label {optnl-imap-hostname}optnl-directory-path[]
+folder-collections=
+
+# List, only needed if nntp-server not set, or news is on a different host
+# than used for NNTP posting. Examples: News *[] or News *{host3/nntp}[]
+# Syntax: optnl-label *{news-host/protocol}[]
+news-collections=News-Tcom {news.t-com.hr/nntp}#news.[],
+ News-Motzarella {news.eternal-september.org/user=anrxc/nntp}#news.[],
+ News-Gmane {news.gmane.org/nntp}#news.[]
+
+# List of file or path names for personal addressbook(s).
+# Default: ~/.addressbook (Unix) or \PINE\ADDRBOOK (PC)
+# Syntax: optnl-label path-name
+address-book=
+
+# List of file or path names for global/shared addressbook(s).
+# Default: none
+# Syntax: optnl-label path-name
+global-address-book=
+
+# Set by Pine; controls beginning-of-month sent-mail pruning.
+last-time-prune-questioned=109.8
+
+# Set by Pine; controls display of "new version" message.
+last-version-used=6.00
+
+# This names the path to an alternative program, and any necessary arguments,
+# to be used in posting mail messages. Example:
+# /usr/lib/sendmail -oem -t -oi
+# or,
+# /usr/local/bin/sendit.sh
+# The latter a script found in Pine distribution's contrib/util directory.
+# NOTE: The program MUST read the message to be posted on standard input,
+# AND operate in the style of sendmail's "-t" option.
+sendmail-path=
+
+# This names the root of the tree to which the user is restricted when reading
+# and writing folders and files. For example, on Unix ~/work confines the
+# user to the subtree beginning with their work subdirectory.
+# (Note: this alone is not sufficient for preventing access. You will also
+# need to restrict shell access and so on, see Pine Technical Notes.)
+# Default: not set (so no restriction)
+operating-dir=
+
+# If no user input for this many hours, Pine will exit if in an idle loop
+# waiting for a new command. If set to zero (the default), then there will
+# be no timeout.
+user-input-timeout=
+
+# Sets the time in seconds that Pine will attempt to open a network
+# connection. The default is 30, the minimum is 5, and the maximum is
+# system defined (typically 75).
+tcp-open-timeout=
+
+# Network read warning timeout. The default is 15, the minimum is 5, and the
+# maximum is 1000.
+tcp-read-warning-timeout=20
+
+# Network write warning timeout. The default is 0 (unset), the minimum
+# is 5 (if not 0), and the maximum is 1000.
+tcp-write-warning-timeout=
+
+# If this much time has elapsed at the time of a tcp read or write
+# timeout, pine will ask if you want to break the connection.
+# Default is 60 seconds, minimum is 5, maximum is 1000.
+tcp-query-timeout=20
+
+# Sets the format of the command used to open a UNIX remote
+# shell connection. The default is "%s %s -l %s exec /etc/r%sd"
+# NOTE: the 4 (four) "%s" entries MUST exist in the provided command
+# where the first is for the command's path, the second is for the
+# host to connnect to, the third is for the user to connect as, and the
+# fourth is for the connection method (typically "imap")
+rsh-command=
+
+# Sets the name of the command used to open a UNIX remote shell connection.
+# The default is tyically /usr/ucb/rsh.
+rsh-path=
+
+# Sets the time in seconds that Pine will attempt to open a UNIX remote
+# shell connection. The default is 15, min is 5, and max is unlimited.
+# Zero disables rsh altogether.
+rsh-open-timeout=
+
+# Sets the format of the command used to open a UNIX secure
+# shell connection. The default is "%s %s -l %s exec /etc/r%sd"
+# NOTE: the 4 (four) "%s" entries MUST exist in the provided command
+# where the first is for the command's path, the second is for the
+# host to connnect to, the third is for the user to connect as, and the
+# fourth is for the connection method (typically "imap")
+ssh-command=
+
+# Sets the name of the command used to open a UNIX secure shell connection.
+# Tyically this is /usr/bin/ssh.
+ssh-path=
+
+# Sets the time in seconds that Pine will attempt to open a UNIX secure
+# shell connection. The default is 15, min is 5, and max is unlimited.
+# Zero disables ssh altogether.
+ssh-open-timeout=
+
+# Sets the version number Pine will use as a threshold for offering
+# its new version message on startup.
+new-version-threshold=
+
+# List of mail drivers to disable.
+disable-these-drivers=
+
+# List of SASL authenticators to disable.
+disable-these-authenticators=
+
+# Set by Pine; contains data for caching remote address books.
+remote-abook-metafile=
+
+# How many extra copies of remote address book should be kept. Default: 3
+remote-abook-history=
+
+# Minimum number of minutes between checks for remote address book changes.
+# 0 means never check except when opening a remote address book.
+# -1 means never check. Default: 5
+remote-abook-validity=
+
+# Your default printer selection
+printer=
+
+# List of special print commands
+personal-print-command=
+
+# Which category default print command is in
+personal-print-category=
+
+# Patterns and their actions are stored here.
+patterns-roles=REMOVED
+
+# Patterns and their actions are stored here.
+patterns-filters2=REMOVED
+
+# Patterns and their actions are stored here.
+patterns-scores2=
+
+# Patterns and their actions are stored here.
+patterns-indexcolors=
+
+# Patterns and their actions are stored here.
+patterns-other=
+
+# Controls display of color
+# - 256 colors needed for the Zenburn color scheme
+color-style=force-xterm-256color
+
+# Controls display of color for current index line
+current-indexline-style=flip-colors
+
+# Controls display of color for the titlebar at top of screen
+titlebar-color-style=default
+
+# Alpine colors
+# - Zenburn color scheme
+normal-foreground-color=220,220,204
+normal-background-color=60,60,60
+reverse-foreground-color=204,147,147
+reverse-background-color=60,60,60
+title-foreground-color=172,188,144
+title-background-color=30,35,32
+status-foreground-color=239,239,143
+status-background-color=60,60,60
+keylabel-foreground-color=172,188,144
+keylabel-background-color=30,35,32
+keyname-foreground-color=172,188,144
+keyname-background-color=30,35,32
+selectable-item-foreground-color=240,223,175
+selectable-item-background-color=60,60,60
+quote1-foreground-color=127,159,127
+quote1-background-color=60,60,60
+quote2-foreground-color=176,196,222
+quote2-background-color=60,60,60
+quote3-foreground-color=127,127,127
+quote3-background-color=60,60,60
+signature-foreground-color=240,223,175
+signature-background-color=60,60,60
+prompt-foreground-color=176,196,222
+prompt-background-color=60,60,60
+meta-message-foreground-color=239,239,143
+meta-message-background-color=60,60,60
+index-to-me-foreground-color=240,223,175
+index-to-me-background-color=60,60,60
+index-important-foreground-color=red
+index-important-background-color=60,60,60
+index-deleted-foreground-color=240,223,175
+index-deleted-background-color=60,60,60
+index-answered-foreground-color=240,223,175
+index-answered-background-color=60,60,60
+index-new-foreground-color=240,223,175
+index-new-background-color=60,60,60
+index-forward-foreground-color=240,223,175
+index-forward-background-color=60,60,60
+index-recent-foreground-color=
+index-recent-background-color=
+index-unseen-foreground-color=
+index-unseen-background-color=
+index-arrow-foreground-color=240,223,175
+index-arrow-background-color=60,60,60
+index-subject-foreground-color=
+index-subject-background-color=
+index-from-foreground-color=
+index-from-background-color=
+index-highpriority-foreground-color=
+index-highpriority-background-color=
+index-lowpriority-foreground-color=
+index-lowpriority-background-color=
+index-opening-foreground-color=
+index-opening-background-color=
+incoming-unseen-foreground-color=
+incoming-unseen-background-color=
+header-general-foreground-color=240,223,175
+header-general-background-color=30,35,32
+title-closed-foreground-color=
+title-closed-background-color=
+
+# - Humvee color scheme
+# normal-foreground-color=189,183,107
+# normal-background-color=38,38,38
+# reverse-foreground-color=255,215,0
+# reverse-background-color=38,38,38
+# title-foreground-color=white
+# title-background-color=102,102,102
+# status-foreground-color=255,215,0
+# status-background-color=38,38,38
+# keylabel-foreground-color=white
+# keylabel-background-color=102,102,102
+# keyname-foreground-color=white
+# keyname-background-color=102,102,102
+# selectable-item-foreground-color=255,215,0
+# selectable-item-background-color=38,38,38
+# quote1-foreground-color=127,127,127
+# quote1-background-color=38,38,38
+# quote2-foreground-color=143,188,143
+# quote2-background-color=38,38,38
+# quote3-foreground-color=107,142,35
+# quote3-background-color=38,38,38
+# signature-foreground-color=154,205,50
+# signature-background-color=38,38,38
+# prompt-foreground-color=143,188,143
+# prompt-background-color=38,38,38
+# meta-message-foreground-color=255,215,0
+# meta-message-background-color=38,38,38
+# index-to-me-foreground-color=154,205,50
+# index-to-me-background-color=38,38,38
+# index-important-foreground-color=red
+# index-important-background-color=38,38,38
+# index-deleted-foreground-color=154,205,50
+# index-deleted-background-color=38,38,38
+# index-answered-foreground-color=154,205,50
+# index-answered-background-color=38,38,38
+# index-new-foreground-color=154,205,50
+# index-new-background-color=38,38,38
+# index-forward-foreground-color=154,205,50
+# index-forward-background-color=38,38,38
+# index-recent-foreground-color=
+# index-recent-background-color=
+# index-unseen-foreground-color=
+# index-unseen-background-color=
+# index-arrow-foreground-color=154,205,50
+# index-arrow-background-color=38,38,38
+# index-subject-foreground-color=
+# index-subject-background-color=
+# index-from-foreground-color=
+# index-from-background-color=
+# index-highpriority-foreground-color=
+# index-highpriority-background-color=
+# index-lowpriority-foreground-color=
+# index-lowpriority-background-color=
+# index-opening-foreground-color=
+# index-opening-background-color=
+# incoming-unseen-foreground-color=
+# incoming-unseen-background-color=
+# header-general-foreground-color=154,205,50
+# header-general-background-color=38,38,38
+# title-closed-foreground-color=
+# title-closed-background-color=
+
+# When viewing messages, these are the header colors
+viewer-hdr-colors=
+
+
+# Add these customized headers (and possible default values) when composing
+customized-hdrs=From: REMOVED,
+ User-Agent: Alpine/2.00 (Linux)
+
+# Specifies the string to replace quotes with when viewing a message.
+quote-replace-string=
+
+# Characters which surround keywords in SUBJKEY token.
+# Default is "{" "} "
+keyword-surrounding-chars=
+
+# Sets the filename for the newmail fifo (named pipe). Unix only.
+newmail-fifo-path=
+
+# Sets the width for the NewMail screen.
+newmail-window-width=
+
+# Colors used to display keywords in the index
+keyword-colors=
+
+# Reflects capabilities of the display you have.
+# If unset, the default is taken from your locale. That is usually the right
+# thing to use. Typical alternatives include UTF-8, ISO-8859-x, and EUC-JP
+# (where x is a number between 1 and 9).
+display-character-set=
+
+# Reflects capabilities of the keyboard you have.
+# If unset, the default is to use the same value
+# used for the display-character-set.
+keyboard-character-set=
+
+# Defaults to UTF-8. This is used for outgoing messages.
+# It is usually correct to leave this unset.
+posting-character-set=
+
+# Number of times per-second to update active status messages
+active-msg-updates-per-second=
+
+# Sets the time in seconds that Alpine will attempt to open a network
+# connection when checking for new unseen messages in an incoming folder.
+# The default is 5.
+incoming-check-timeout=
+
+# Sets the approximate number of seconds between checks for unseen messages
+# in incoming folders. The default is 180.
+incoming-check-interval=
+
+# List of incoming folders to check for unseen messages. The default if left
+# blank is to check all incoming folders.
+incoming-check-list=
+
+# WebAlpine index table row height
+wp-indexheight=
+
+# WebAlpine number of index lines in table
+wp-indexlines=
+
+# WebAlpine aggregate operations tab state
+wp-aggstate=
+
+# WebAlpine various aspects of cross-session state
+wp-state=
+
+# WebAlpine preferred width for message display in characters
+wp-columns=
+
+# Number of times per-second to update busy cue messages
+busy-cue-rate=
+
+# When these characters appear in the middle of a word in the composer
+# the forward word function will stop at the first text following (as happens
+# with SPACE characters by default)
+composer-word-separators=
+
+# Characters between subject and opening text in SUBJECTTEXT token.
+# Default is " - "
+opening-text-separator-chars=
+
+# Sets the approximate number of seconds between checks for unseen messages
+# for other than local or IMAP folders. The default is 180.
+incoming-check-interval-secondary=
+
+# Patterns and their actions are stored here.
+patterns-search=
+
+# LDAP servers for looking up addresses.
+ldap-servers=
+
+# Sets presentation order of threads in thread index. Choices:
+#arrival, and thread.
+thread-sort-key=
+
+# Allows a user to specify the threading style of specific folders
+threading-display-style-rule=
+
+# Allows a user to specify the threading index style of specific folders
+threading-index-style-rule=
+
+# Allows a user to set rules when composing messages.
+compose-rules=
+
+# Allows a user to set rules when forwarding messages.
+forward-rules=
+
+# Allows a user to supersede global index format variable in designated folders.
+index-rules=
+
+# Allows a user to override keystrokes in certain screens.
+key-definition-rules=
+
+# Allows a user to change the form a specify field in the index-format is
+# displayed.
+replace-rules=
+
+# Allows a user to change the form a specify a reply-indent-string
+# based of rules.
+reply-indent-rules=
+
+# Allows a user to replace the reply-leadin message based on different parameters.
+reply-leadin-rules=
+
+# Allows a user to replace the subject of a message in a customs based way
+reply-subject-rules=
+
+# Allows a user to specify a save folder message for specific senders or folders.
+save-rules=
+
+# Allows a user to specify a smtp server to be used when sending e-mail,
+# according to the rules specified here.
+smtp-rules=
+
+# Allows a user to specify the sort default order of a specific folder.
+sort-rules=
+
+# Allows a user to specify the position of a highlighted message when opening a
+# folder.
+startup-rules=
+
+# Specifies a comma separated list of text and regular expresions that Pine
+# will highlight
+special-text-color=
+special-text-foreground-color=
+special-text-background-color=
+
+# Location relative to your HOME directory of the directory where your INBOX
+# for the maildir format is located. Default value is "Maildir". If your
+# inbox is located at "~/Maildir" you do not need to change this value.
+# A common value is also ".maildir"
+maildir-location=
+
+# If set, specifies where trash is moved to in Web Alpine.
+trash-folder=
+
+# Defaults to nothing, which is equivalent to US-ASCII. This is used for
+# unlabeled incoming messages. It is ok to leave this unset but if you receive
+# unlabeled mail that is usually in some known character set, set that here.
+unknown-character-set=
+
+# Public certificates are kept in files in this directory. The files should
+# contain certificates in PEM format. The name of each file should look
+# like <emailaddress>.crt. The default directory is .alpine-smime/public.
+smime-public-cert-directory=
+
+# If this option is set then public certificates are kept in a single container
+# "file" similar to a remote configuration file instead of in the
+# smime-publiccert-directory. The value can be a remote or local folder
+# specification like for a non-standard pinerc value. The default
+# is that it is not set.
+smime-public-cert-container=
+
+# Private keys are kept in files in this directory. The files are in PEM format.
+# The name of a file should look like <emailaddress>.key.
+# The default directory is .alpine-smime/private.
+smime-private-key-directory=
+
+# If this option is set then private keys are kept in a single container
+# "file" similar to a remote configuration file instead of in the
+# private-key-directory. The value can be a remote or local folder
+# specification like for a non-standard pinerc value. The default
+# is that it is not set.
+smime-private-key-container=
+
+# Certificate Authority certificates (in addition to the normal CACerts for the
+# system) are kept in files in this directory. The files are in PEM format.
+# Filenames should end with .crt. The default directory is .alpine-smime/ca.
+smime-cacert-directory=
+
+# If this option is set then CAcerts are kept in a single container
+# "file" similar to a remote configuration file instead of in the
+# ca-cert-directory. The value can be a remote or local folder
+# specification like for a non-standard pinerc value. The default
+# is that it is not set.
+smime-cacert-container=
+
+# RSS News feed
+rss-news=
+
+# RSS Weather feed
+rss-weather=
diff --git a/procmailrc b/procmailrc
new file mode 100644
index 0000000..0478ca1
--- /dev/null
+++ b/procmailrc
@@ -0,0 +1,263 @@
+# -*- shell-script -*-
+#
+# anrxc's config file for procmail 3.22 on Arch GNU/Linux.
+
+
+# {{{ Variables
+SHELL=/bin/zsh
+PATH=/bin:/usr/bin:/usr/local/bin
+PMDIR=$HOME/.procmail
+LOGABSTRACT=all
+MAILDIR=$HOME/mail
+LOGFILE=$PMDIR/proclog
+VERBOSE=off
+DEFAULT=$MAILDIR/Inbox
+TRASH=$MAILDIR/Trash
+# }}}
+
+
+
+# {{{ Misc
+#
+# Beep on mail arrival
+#:0 ic
+#|beep -r 3 -l 25 -D 25 -n -f 1000 -l 25
+# }}}
+
+
+
+# {{{ Various fixes
+#
+# Empty Message-IDs usually indicate a broken mailserver.
+:0
+* ^Message-ID.*<>
+Trash
+
+
+# Fix Headers != 0
+# - http://linux.kiev.ua/materials/Mutt-FAQ.html
+:0 Bfh
+* H ?? ~^Lines:
+* -1^0
+* 1^1 ^.*$
+| formail -A "Lines: $="
+
+
+# Correct Subject lines, replace RE: with Re:, and fix "Re: Re:"
+:0 fHw
+* ^Subject:.*RE:
+| sed -e 's/RE:/Re:/g'
+
+:0 fHw
+* ^Subject:.*Re: Re:
+| sed -e 's/Re: Re:/Re:/g'
+
+
+# Correct wrong sig-dashes, ie add a space for lines with only "--" in them:
+# - http://linuxbrit.co.uk/downloads/dot.procmailrc
+# from: ^--$
+# to: ^-- $
+:0 fBw
+* ^--$
+| sed -e 's/^--$/-- /'
+
+
+# Useless use of Reply-To:
+:0 fhw
+* ^Reply-To: \/.+
+* $ ^From:.*$MATCH
+| formail -I Reply-To
+
+
+# Deletes signatures starting with "\n-- \nTo unsubscribe" followed by
+# one line of text (unsubscribe message for most mailing lists)
+:0 fbw
+| sed '/^-- $/{N;/\nTo unsubscribe/{N;d;};}'
+
+
+# Procmail bug: any output on stderr will cause the "F" in "From" to be dropped.
+# This will re-add it.
+:0
+* ^^rom[ ]
+{
+ LOG="*** Dropped F off From_ header! Fixing up. "
+
+ :0 fhw
+ | sed -e '1s/^/F/'
+}
+
+
+# Convert all plain-text mail arriving in certain encoded
+# MIME formats into a more compact 8-bit format.
+:0
+* ^Content-Type: *text/plain
+{
+ :0 fbw
+ * ^Content-Transfer-Encoding: *quoted-printable
+ | mimencode -u -q
+ :0 Afhw
+ | formail -I "Content-Transfer-Encoding: 8bit"
+ :0 fbw
+ * ^Content-Transfer-Encoding: *base64
+ | mimencode -u -b
+ :0 Afhw
+ | formail -I "Content-Transfer-Encoding: 8bit"
+}
+# }}}
+
+
+
+# {{{ Mailing lists
+# - switched to Gmane for the most part
+#
+# Gajim + Gajim Translators
+:0:
+* ^List-Id: Translators mailing list
+Lists/Gajim
+
+:0:
+* ^List-Id: Mailing list for gajim project development
+Lists/Gajim
+
+
+# VDR
+:0:
+* ^List-Id: VDR Mailing List
+Lists/VDR
+
+
+# Slackware announce + Slackware Security
+:0:
+* ^TO_slackware-security@slackware.com
+Lists/Slackware
+
+:0:
+* ^TO_slackware-announce@slackware.com
+Lists/Slackware
+
+
+# Arch Linux
+:0:
+* ^TO_arch-general@archlinux.org
+Lists/Arch
+
+
+# Unix Gurus - daily unix tips
+:0:
+* ^From:.*UGU
+Saved/UGU-Tips
+
+
+# Awesome Window Manager
+:0:
+* ^TO_awesome@naquadah.org
+Lists/Awesome
+
+
+# Nista se nece dogoditi
+:0:
+* ^To:.*nista se nece dogoditi
+Lists/Nista
+
+:0:
+* ^TO_nistasenecedogoditi@googlegroups.com
+Lists/Nista
+
+
+# MojPosao
+:0:
+* ^From:.*MojPosao
+Jobs
+
+
+# Posao.hr
+:0:
+* ^From:.*Posao.hr
+Jobs
+# }}}
+
+
+# {{{ RSS feeds
+#
+# Daily WTF
+#:0:
+#* ^From:.*The Daily WTF
+#WTF
+
+
+# Arch Linux News
+:0 fHw
+* ^From:.*Recent News Updates
+| sed -e 's/Recent News Updates/Arch Linux/g'
+# }}}
+
+
+# {{{ Minor sorting
+#
+# Slackware ChangeLog cronjob
+:0:
+* ^Subject: cron: ~/scripts/changelog/changelog.sh
+Lists/Slackware
+
+
+# Some cronjobs
+:0:
+* ^Subject: cron: ~/rss/r2e run
+Trash
+
+
+# Mailing lists reminders
+:0:
+* ^Subject:.*mailing list memberships reminder
+Trash
+
+
+# T-Com spam filter changes subject to: [SPAM] or [VIRUS]
+:0:
+* ^Subject:.*\[SPAM\]
+Trash
+
+:0:
+* ^Subject:.*\[VIRUS\]
+Trash
+# }}}
+
+
+
+# {{{ Spam filtering
+#
+# crm114 discriminator
+:0fw: .msgid.lock
+| /usr/bin/crm -u /home/anrxc/.crm114 mailfilter.crm
+
+:0:
+* ^X-CRM114-Status: SPAM.*
+Trash
+# crm114 discriminator
+
+# SpamAssassin
+* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
+Trash
+
+:0:
+* ^X-Spam-Status: Yes
+Trash
+# SpamAssassin
+# }}}
+
+
+
+# {{{ Mail backup
+#:0 c
+#* !^From: IDS
+#* !^From: Cron
+#* !^From: root
+#! anrxc@somedomain.tld
+# }}}
+
+
+
+# {{{ Everything else
+:0:
+$DEFAULT
+# }}}
diff --git a/screenrc b/screenrc
new file mode 100644
index 0000000..43877ae
--- /dev/null
+++ b/screenrc
@@ -0,0 +1,31 @@
+# screen init file on Arch GNU/Linux
+
+#vbell on # no bell
+autodetach on # detach on hangup
+startup_message off # don't display the copyright page
+defutf8 on # utf-8 encoding
+defscrollback 1000 # change default scrollback value for new windows
+bufferfile $HOME/.screen_exchange # the file to use for "readbuf" ('<') and "writebuf" ('>'):
+shell -$SHELL # make the shell in every window a login shell
+#term screen-256color # set TERM
+ # fix 256 color support in urxvt
+termcapinfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+termcapinfo rxvt* ti@:te@:XT # improve mouse scrolling
+
+# keybindings
+#bindkey -k k5 prev # F5 for previous window
+#bindkey -k k6 next # F6 for next window
+
+# startup windows
+#screen -t "User" 0 zsh
+#screen -t "Emacs" 1 emacs -nw
+#screen -t "Mail" 2 alpine
+#screen -t "Root" 3 su
+#screen -t "FM" 4 mc
+#screen -t "System Monitor" 5 htop
+
+# change hardstatus settings to show a window list at the bottom of the
+# screen, with the current window highlighted and hostname on both ends
+hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][%{Y} %H %{G}]"
+sorendition Wk
+backtick 50 0 0 hostname
diff --git a/vimperator/colors/clearlooks.vimp b/vimperator/colors/clearlooks.vimp
new file mode 100644
index 0000000..2dd769b
--- /dev/null
+++ b/vimperator/colors/clearlooks.vimp
@@ -0,0 +1,63 @@
+" ==Clearlooks_Color_Scheme==
+" name: Clearlooks
+" ==Clearlooks_Colorscheme_Settings==
+hi Bell border: 0 none; background-color: black;
+hi Boolean color: red;
+hi CmdLine font-family: monospace; padding: 1px;
+hi CmdOutput white-space: pre;
+hi CompDesc color: gray; width: 50%;
+hi CompGroup
+hi CompGroup:not(:first-of-type) margin-top: .5em;
+hi CompIcon width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex;
+hi CompIcon>img max-width: 16px; max-height: 16px; vertical-align: middle;
+hi CompItem
+hi CompItem>* padding: 0 .5ex;
+hi CompItem[selected] background: #86ABD9;
+hi CompLess text-align: center; height: 0; line-height: .5ex; padding-top: 1ex;
+hi CompLess::after content: "\2303" /* Unicode up arrowhead */
+hi CompMore text-align: center; height: .5ex; line-height: .5ex; margin-bottom: -.5ex;
+hi CompMore::after content: "\2304" /* Unicode down arrowhead */
+hi CompMsg font-style: italic; margin-left: 16px;
+hi CompResult width: 45%; overfloaw: hidden;
+hi CompTitle color: #86ABD9; background: white; font-weight: bold;
+hi CompTitle>* padding: 0 .5ex;
+hi ErrorMsg color: white; background: red; font-weight: bold;
+hi Filter font-weight: bold;
+hi FrameIndicator background-color: red; opacity: 0.5; z-index: 999; position: fixed; top: 0; bottom: 0; left: 0; right: 0;
+hi Function color: navy;
+hi Gradient height: 1px; margin-bottom: -1px; margin-top: -1px;
+hi GradientLeft background-color: #86ABD9;
+hi GradientRight background-color: white;
+hi Hint font-family: monospace; font-size: 10px; font-weight: bold; color: white; background-color: red; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding 0px 1px 0px 1px;
+hi Hint::after content: attr(number);
+hi HintActive background: #88FF00; color: black;
+hi HintElem background-color: #86ABD9; color: black;
+hi HintImage opacity: .5;
+hi Indicator color: blue;
+hi InfoMsg color: black; background: white;
+hi LineNr color: orange; background: white;
+hi Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
+hi ModeMsg color: black; background: white;
+hi MoreMsg color: green; background: white;
+hi NonText color: blue; min-height: 16px; padding-left: 2px;
+hi Normal color: black; background: white;
+hi Null color: blue;
+hi Number color: blue;
+hi Object color: maroon;
+hi Preview color: gray;
+hi Question color: green; background: white; font-weight: bold;
+hi Search font-size: inherit; padding: 0; color: black; background-color: #86ABD9; padding: 0;
+hi StatusLine color: black; background: #E6E6E6;
+hi StatusLineBroken color: black; background: #FF6060; /* light-red */
+hi StatusLineSecure color: black; background: #B0FF00; /* light-green */
+hi String color: green;
+hi TabClose
+hi TabIcon
+hi TabIconNumber font-weight: normal; color: black; text-align: center; text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
+hi TabNumber font-weight: bold; margin: 0; padding-right: .3ex;
+hi TabText
+hi Tag color: blue;
+hi Title color: #86ABD9; background: white; font-weight: bold;
+hi URL text-decoration: none; color: green; background: inherit;
+hi URL:hover text-decoration: underline; cursor: pointer;
+hi WarningMsg color: red; background: white;
diff --git a/vimperator/colors/difolt.vimp b/vimperator/colors/difolt.vimp
new file mode 100644
index 0000000..d5878ac
--- /dev/null
+++ b/vimperator/colors/difolt.vimp
@@ -0,0 +1,63 @@
+" ==Default_Color_Scheme==
+" name: default
+" ==Defult_Colorscheme_Settings==
+hi Bell border: 0 none; background-color: black;
+hi Boolean color: red;
+hi CmdLine font-family: monospace; padding: 1px;
+hi CmdOutput white-space: pre;
+hi CompDesc color: gray; width: 50%;
+hi CompGroup
+hi CompGroup:not(:first-of-type) margin-top: .5em;
+hi CompIcon width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex;
+hi CompIcon>img max-width: 16px; max-height: 16px; vertical-align: middle;
+hi CompItem
+hi CompItem>* padding: 0 .5ex;
+hi CompItem[selected] background: yellow;
+hi CompLess text-align: center; height: 0; line-height: .5ex; padding-top: 1ex;
+hi CompLess::after content: "\2303" /* Unicode up arrowhead */
+hi CompMore text-align: center; height: .5ex; line-height: .5ex; margin-bottom: -.5ex;
+hi CompMore::after content: "\2304" /* Unicode down arrowhead */
+hi CompMsg font-style: italic; margin-left: 16px;
+hi CompResult width: 45%; overfloaw: hidden;
+hi CompTitle color: magenta; background: white; font-weight: bold;
+hi CompTitle>* padding: 0 .5ex;
+hi ErrorMsg color: white; background: red; font-weight: bold;
+hi Filter font-weight: bold;
+hi FrameIndicator background-color: red; opacity: 0.5; z-index: 999; position: fixed; top: 0; bottom: 0; left: 0; right: 0;
+hi Function color: navy;
+hi Gradient height: 1px; margin-bottom: -1px; margin-top: -1px;
+hi GradientLeft background-color: magenta;
+hi GradientRight background-color: white;
+hi Hint font-family: monospace; font-size: 10px; font-weight: bold; color: white; background-color: red; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding 0px 1px 0px 1px;
+hi Hint::after content: attr(number);
+hi HintActive background: #88FF00; color: black;
+hi HintElem background-color: yellow; color: black;
+hi HintImage opacity: .5;
+hi Indicator color: blue;
+hi InfoMsg color: black; background: white;
+hi LineNr color: orange; background: white;
+hi Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
+hi ModeMsg color: black; background: white;
+hi MoreMsg color: green; background: white;
+hi NonText color: blue; min-height: 16px; padding-left: 2px;
+hi Normal color: black; background: white;
+hi Null color: blue;
+hi Number color: blue;
+hi Object color: maroon;
+hi Preview color: gray;
+hi Question color: green; background: white; font-weight: bold;
+hi Search font-size: inherit; padding: 0; color: black; background-color: yellow; padding: 0;
+hi StatusLine color: white; background: black;
+hi StatusLineBroken color: black; background: #FF6060; /* light-red */
+hi StatusLineSecure color: black; background: #B0FF00; /* light-green */
+hi String color: green;
+hi TabClose
+hi TabIcon
+hi TabIconNumber font-weight: normal; color: black; text-align: center; text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
+hi TabNumber font-weight: bold; margin: 0; padding-right: .3ex;
+hi TabText
+hi Tag color: blue;
+hi Title color: magenta; background: white; font-weight: bold;
+hi URL text-decoration: none; color: green; background: inherit;
+hi URL:hover text-decoration: underline; cursor: pointer;
+hi WarningMsg color: red; background: white;
diff --git a/vimperatorrc b/vimperatorrc
new file mode 100644
index 0000000..2b2a60c
--- /dev/null
+++ b/vimperatorrc
@@ -0,0 +1,243 @@
+" anrxc's vimperator init file with Emacs bindings
+
+" For a nice formatted list of keybindings check:
+" * http://sysphere.org/~anrxc/j/articles/vimperator/index.html
+
+" TODO
+" * C-n and C-p in "INSERT (menu)" mode
+" - see this feature request: http://vimperator.org/trac/ticket/235
+" * C-? bindings wanted for: i (caret mode) and v (visual mode)
+" * C-g is buggy in insert mode in Vimperator 2.0
+" * completion brings system and FF to a crawl anyway so I will not use v2.0
+" * C-g solved in Vimperator 2.1 and completion is fixed
+
+
+" User styles as colorschemes in Vimperator 2
+" * ~/.vimperator/colors/clearlooks.vimp
+colorscheme clearlooks
+
+
+" Options
+" - Most of the options already have good defaults
+"
+" Window title (Vimperator by default)
+set titlestring=Firefox
+
+" Editor, C-i invokes it in text fields (replaces "It's All Text")
+set editor=emacsclient
+
+" Command line and search patterns history
+set history=10000
+
+" Show the toolbar on startup (I keep all bars in one)
+"set go+=T
+
+" Show the tab bar only if more then one tab is open
+set showtabline=1
+
+" Show destination links in 1=status line, 2=command line
+set showstatuslinks=1
+
+" Show completions and use AwesomeBar (+search plugins)
+set complete=sl
+set wildoptions=auto
+
+" Ex commands output in a new tab by default (prefs, addons...)
+set newtab=all
+
+" Hilight previous search pattern matches
+set hlsearch
+
+" Default search engine is ignored, plugins are used, place yubnub in there and do:
+set ds=yubnub
+
+
+" Key bindings
+" - Emacs key theme for GTK and Firefox already provide bindings for input fields.
+"
+" M-x enters command mode
+noremap <A-x> :
+
+" Emacs navigation in command line and insert mode
+cmap <C-n> <Tab>
+cmap <C-p> <S-Tab>
+cmap <C-f> <Right>
+cmap <C-b> <Left>
+cmap <C-j> <CR>
+noremap <C-j> <CR>
+inoremap <C-j> <CR>
+inoremap <C-n> <Down>
+inoremap <C-p> <Up>
+inoremap <C-f> <Right>
+inoremap <C-b> <Left>
+
+" Use C-f and C-b for tab browsing
+noremap <C-f> <C-n>
+noremap <C-b> <C-p>
+
+" Use C-a and C-e to jump to first/last tab
+"noremap <C-a> g0
+"noremap <C-e> g$
+" Or use them to go to the absolute left/right of the document
+noremap <C-a> 0
+noremap <C-e> $
+
+" Use C-p and C-n for up/down
+noremap <C-p> k
+noremap <C-n> j
+
+" Use C-v and M-v for jump scrolling
+noremap <C-v> <C-d>
+noremap <A-v> <C-u>
+
+" Goto the top of the document with M-<
+noremap <A-<> gg
+
+" Goto the end of the document with M->
+noremap <A->> G
+
+" Use C-s and C-r for searching (n/N for next/prev as in less)
+noremap <C-s> /
+noremap <C-r> ?
+
+" Copy the current URL to the clipboard with M-w
+noremap <A-w> y
+" Copy selected text to the clipboard with C-w
+noremap <C-w> Y
+
+" Paste the current clipboard selection to a new buffer with C-y
+noremap <C-y> P
+
+" Use current URL as a start for a new location with C-x C-v
+noremap <C-x><C-v> O
+
+" C-g as cancel (C-c is stop)
+"cmap <C-g> <C-c>
+cmap <C-g> <Esc>
+imap <C-g> <Esc>
+noremap <C-g> <Esc>
+
+" Avoid Find dialog when canceling a started command, C-x C-g
+noremap <C-x><C-g> <Esc>
+" Avoid quit on C-q, and it's more suitable for Stop here
+noremap <C-q> <C-c>
+
+" Kill the buffer with C-x k
+noremap <C-x>k d
+
+" Undo close tab with C-_ (also with C-Shift-t, as C-t is new tab)
+noremap <C-_> u
+
+" Exit and save the session with C-x C-c
+noremap <C-x><C-c> ZZ
+
+" Buffer lists with C-x b and C-x C-b
+noremap <C-x>b b
+noremap <C-x><C-b> B
+
+" C-x l as :open
+" C-x t as :tabopen
+noremap <C-x>l :o<SPACE>
+noremap <C-x>t :t<SPACE>
+
+" Switch roles of f and F to have hints opened in new tabs by default
+"noremap f F
+"noremap F f
+
+" Switch hints to letter "j" for right hand usage
+noremap j f
+noremap J F
+" Extended hint mode with M-j
+" ; - focus link, a - save, y - copy link, O - :open query, T - for :tabopen ...
+noremap <A-j> ;
+
+" We can now also use F for Shift+b/f as back/forward
+noremap F L
+noremap B H
+
+" Back with Backspace as well
+map <BS> H
+
+" Default C-o/C-i for older/newer position on the history jump list
+"remap if needed
+
+" Use C-h i to start help
+noremap <C-h>i :help<CR>
+
+" Record a key sequence into a macro with C-x (
+noremap <C-x>( q
+
+" Play a macro with C-x e
+noremap <C-x>e @
+
+" Set a mark at the cursor with C-x r m
+noremap <C-x>rm m
+
+" Jump to the mark in the current buffer with C-x r b
+noremap <C-x>rb '
+
+" C-v was pass-next command, re-map it so we can bind to default keys too
+noremap <C-d> <C-v>
+
+" C-x C-f starts the "Open File" dialog (C-x C-s is Save)
+map <C-x><C-f> <C-d><C-o>
+
+
+" I also use these, with no connection to Emacs bindings
+"
+" M-Up/Dn toggles the toolbar (I keep all bars in one)
+map <A-Down> :set go+=T<CR>
+map <A-Up> :set go-=T<CR>
+
+" Sidebar selection with s, close a sidebar with S
+map s :sidebar<SPACE>
+map S :sbclose<CR>
+
+" Dialog selection with d
+map d :dialog<SPACE>
+
+" Bookmark this page with C-x a (dialog)
+map <C-x>a <C-d><C-d>
+
+" Bookmarks search and search by tag
+map <C-x>q :bmarks<SPACE>
+map <C-x>w :bmarks -tags=
+
+" View source with C-x g
+noremap <C-x>g gf
+" or in an external editor
+"noremap <C-x>g gF
+
+" Focus the address bar with C-l
+map <C-l> <C-d><C-l>
+
+" Focus last used input field with C-x i
+noremap <C-x>i gi
+
+" Open home directory with C-x f
+noremap <C-x>f ~
+
+" Go to home page with C-x h
+noremap <C-x>h gh
+
+" Go to parent directory with C-x u
+noremap <C-x>u gu
+
+" Go to the root of the website with C-x C-u
+noremap <C-x><C-u> gU
+
+
+" Javascript
+" - Some useful functions
+"
+" Show the feed-button in the statusbar
+javascript <<EOF
+(function(){
+ var feedPanel = document.createElement("statusbarpanel");
+ feedPanel.setAttribute("id", "feed-panel-clone");
+ feedPanel.appendChild(document.getElementById("feed-button"));
+ feedPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
+ document.getElementById("status-bar")
+ .insertBefore(feedPanel, document.getElementById("security-button"));
+})();
+EOF
diff --git a/vimrc b/vimrc
new file mode 100644
index 0000000..aa0611e
--- /dev/null
+++ b/vimrc
@@ -0,0 +1,29 @@
+" anrxc's vim configuration file
+
+:syntax on
+:set ai
+:set autoindent
+:set shiftwidth=4
+:set backspace=2
+:set ruler
+
+" Folding
+:set fdm=marker
+
+" Zenburn color scheme
+:colorscheme zenburn
+" Alternative bg for bright env.
+"let g:zenburn_high_Contrast = 1
+
+" Keyboard map
+" :set keymap=croatian
+
+" Default font
+" :set guifont=Pragmata\ 10
+:set guifont=Terminus\ 8
+
+" Spell checking
+" :set spell
+" :setlocal spell spelllang=hr
+" Alternative spell check with aspell
+" map #fi :!aspell --lang=hr -c -x %
diff --git a/xbindkeysrc b/xbindkeysrc
new file mode 100644
index 0000000..59da17d
--- /dev/null
+++ b/xbindkeysrc
@@ -0,0 +1,47 @@
+# -*- shell-script -*-
+#
+# anrxc's xbindkeys configuration
+#
+# The format of a command line is:
+# "command to start"
+# associated key (+ key)
+#
+# List of modifier:
+# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
+# Mod3 (CapsLock), Mod4 (Win), Mod5 (Scroll).
+
+# Uncomment if you want to pay attention to *Lock modifiers
+#keystate_numlock = enable
+#keystate_capslock = enable
+#keystate_scrolllock= enable
+
+"amixer -q sset Master toggle"
+ XF86AudioMute
+
+"amixer -q sset PCM 2dB-"
+ XF86AudioLowerVolume
+
+"amixer -q sset PCM 2dB+"
+ XF86AudioRaiseVolume
+
+"firefox -browser"
+ XF86WWW
+
+"urxvt -title Alpine -e alpine"
+ XF86Mail
+
+"kscreenlocker --forcelock"
+ XF86ModeLock
+
+"ksnapshot"
+ Print
+
+"xrefresh"
+ XF86Refresh
+
+"gqview"
+ XF86Pictures
+
+#"sudo pm-hibernate"
+# XF86Sleep
+# End of xbindkeys configuration
diff --git a/xinitrc b/xinitrc
new file mode 100755
index 0000000..247704c
--- /dev/null
+++ b/xinitrc
@@ -0,0 +1,155 @@
+#!/bin/sh
+#
+# anrxc's X.org init file on Arch GNU/Linux
+
+
+# {{{ Log settings
+errorlog="$HOME/.xsession-errors"
+
+# Start with a clean log file every time
+if ( cp /dev/null "$errorlog" 2> /dev/null ); then
+ chmod 600 "$errorlog"
+ exec > "$errorlog" 2>&1
+ break
+fi
+# }}}
+
+
+# {{{ Environment settings
+#
+# Somewhat nicer OpenOffice than with QT style
+export OOO_FORCE_DESKTOP="gnome"
+
+# Disable Pango in Gecko, performance wise
+export MOZ_DISABLE_PANGO=1
+# }}}
+
+
+# {{{ Resource and keymap settings
+usermodmap=$HOME/.Xmodmap
+userresources=$HOME/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+
+# Merge system and user resources and keymaps
+if [ -f $sysresources ]; then
+ /usr/bin/xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ /usr/bin/xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ /usr/bin/xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ /usr/bin/xmodmap $usermodmap
+fi
+# }}}
+
+
+# {{{ Input settings
+#
+# Keyboard control, repeat delay and repeat rate
+/usr/bin/xset r rate 200 30
+
+# Pointer control, acceleration and threshold
+#/usr/bin/xset m 30/10 4
+
+# Touchpad control
+# - disable tapping/scrolling when typing
+#/usr/bin/syndaemon -t -i 2 &
+
+# Pointer appearance
+# - xcb does not support Xcursor yet
+/usr/bin/xsetroot -cursor_name left_ptr
+
+# Fix broken (HAL) key mappings
+# - Lock key
+/usr/bin/sudo /usr/bin/setkeycodes e06e 152
+# - Presentation key
+/usr/bin/sudo /usr/bin/setkeycodes e075 217
+# - Sync key
+/usr/bin/sudo /usr/bin/setkeycodes e079 173
+# - Euro key
+/usr/bin/sudo /usr/bin/setkeycodes e033 159
+# - Dollar key
+/usr/bin/sudo /usr/bin/setkeycodes e034 151
+# }}}
+
+
+# {{{ Display settings
+#
+# Brightness level
+# - brightness keeps resetting to it's max value after dpms or suspend
+# * fixed in xorg-server 1.6.1
+# - xbacklight can't be used with legacy control, so set level first
+#/usr/bin/xbacklight -set 10
+
+# Legacy control solves resetting brightness levels
+# * fixed in xorg-server 1.6.1
+# - further changing trough ACPI/acer-wmi (which includes Fn+BrUp/Dn)
+#/usr/bin/xrandr --output LVDS --set BACKLIGHT_CONTROL legacy
+
+# Ignore reported display size and force DPI
+#/usr/bin/xrandr --dpi 96
+
+# Force LVDS as the primary screen
+#/usr/bin/xrandr --output LVDS --primary
+# }}}
+
+
+# {{{ Autostart settings
+#
+# Start the GnuPG agent and enable the OpenSSH agent emulation
+eval "$(/usr/bin/killall gpg-agent; /usr/bin/gpg-agent --enable-ssh-support --daemon)"
+
+# Play a startup sound
+#/usr/bin/ogg123 -q $HOME/.fvwm/sounds/Startup.ogg &
+
+# Set the wallpaper(s) for all screens
+# - awesome 3 calls nitrogen
+#/usr/bin/nitrogen --restore &
+
+# Preload KDE daemons
+#/usr/bin/kdeinit4 &
+
+# Systray if needed
+# - awesome 3 has it's own systray
+# - stalone can't be smaller then 24 pixels, doesn't fit at the end of my 14px statusbar
+# - trayer can be resized to 14px and so fit in nicely, but some KDE apps refuse to dock if it's smaller than 16px
+#/usr/bin/stalonetray -bg '#1a1a1a' -geometry 124x24+1156+776 --sticky --window-layer top &
+#/usr/bin/trayer --edge top --align right --widthtype pixel --heighttype pixel --height 16 \
+# --width 70 --expand false --transparent true --alpha 0 --tint 0x3f3f3f &
+
+# Start the GNU Emacs daemon
+/usr/bin/emacs --daemon &
+
+# Xwrits reminds you to take wrist breaks and avoid RSI
+/usr/bin/xwrits typetime=40 clock breakclock top \
+ ready-picture=$HOME/.xwrits/ready.gif rest-picture=$HOME/.xwrits/rest.gif warning-picture=$HOME/.xwrits/warning.gif &
+
+# Open a terminal emulator on the first tag
+# - resume the old screen session or start a new one
+/usr/bin/urxvt -e screen -U -l -S term -D -R &
+# }}}
+
+
+# {{{ Window manager selection
+case $1 in
+ twm)
+ exec twm
+ ;;
+ fvwm)
+ exec fvwm2
+ ;;
+ kde)
+ exec startkde
+ ;;
+ *)
+ exec awesome
+ ;;
+esac
+# }}}
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..211c722
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,379 @@
+# -*- shell-script -*-
+#
+# anrxc's init file for Z-SHELL 4.3.10 on Arch GNU/Linux.
+
+
+# {{{ User settings
+
+# {{{ Environment
+export PATH=$PATH:~/code/bin
+export HISTFILE=~/.zsh_history
+export HISTSIZE=50000
+export SAVEHIST=50000
+export LESSHISTFILE="-"
+export PAGER="less"
+export EDITOR="emacsclient"
+export VISUAL="emacsclient"
+export BROWSER="firefox"
+export XTERM="urxvt"
+# }}}
+
+# {{{ Mail settings
+export MAIL=~/mail/Inbox
+export MAILCHECK=300
+export GPGKEY="0xD20A0618"
+# }}}
+
+# {{{ Compiler flags
+#export CHOST="i686-pc-linux-gnu"
+#export CFLAGS="-O2 -march=athlon-xp -mcpu=i686 -pipe -fomit-frame-pointer"
+#export CXXFLAGS="${CFLAGS}"
+# }}}
+
+# {{{ Dircolors
+# - with rxvt-256color support
+eval `dircolors -b ~/.dir_colors`
+# }}}
+
+# {{{ Manual pages
+# - colorize, since man-db fails to do so
+export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
+export LESS_TERMCAP_md=$'\E[01;31m' # begin bold
+export LESS_TERMCAP_me=$'\E[0m' # end mode
+export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
+export LESS_TERMCAP_so=$'\E[1;33;40m' # begin standout-mode - info box
+export LESS_TERMCAP_ue=$'\E[0m' # end underline
+export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
+# }}}
+
+# {{{ Aliases
+
+# {{{ Main
+alias ..='cd ..'
+alias ...='cd ../..'
+alias ls='ls -aF --color=always'
+alias ll='ls -l'
+alias lfi="ls -l | egrep -v '^d'"
+alias ldi="ls -l | egrep '^d'"
+alias lst="ls -htl | grep $(date +%Y-%m-%d)"
+alias grep='grep --color=always'
+alias cp='cp -ia'
+alias mv='mv -i'
+alias rm='rm -i'
+alias cls='clear'
+alias upmem='ps -aux | sort -k 6'
+alias top='htop'
+alias psg='ps auxw | grep -i '
+alias psptree='ps auxwwwf'
+alias df='df -hT'
+alias du='du -hc'
+alias dus='du -S | sort -n'
+alias free='free -m'
+alias su='su - '
+alias x='startx'
+alias rehash='hash -r'
+alias eject='eject -v '
+alias retract='eject -t -v '
+alias vuser='fuser -v '
+alias ping='ping -c 5'
+alias more='less'
+alias mc='. /usr/share/mc/bin/mc-wrapper.sh -x'
+alias links='links ~/.links/startpage.html'
+alias lynx='\links ~/.links/startpage.html'
+alias sripper='~/code/bash/sripper.sh'
+alias cplay='cplay -v'
+alias xtr='extract'
+alias screen='screen -U -l'
+alias scr='screen -r'
+alias scd='screen -rd'
+alias sat='date +%R'
+alias bat='acpitool -b'
+alias calc='bc -l <<<'
+alias iodrag='ionice -c3 nice -n19'
+alias spell='aspell -a <<< '
+alias d2u='sed "s/.$//"'
+alias u2d='sed "s/$/`echo r`/"'
+alias ec='emacsclient -a emacs -n '
+alias ect='emacsclient -a emacs -t '
+alias gpgd='gpg --decrypt'
+alias gpge='gpg -ear anrxc'
+alias keyshare='synergys -f --config /etc/synergy.conf'
+alias xpop='xprop | grep --color=none "WM_WINDOW_ROLE\|WM_CLASS" | xmessage -file -'
+# }}}
+
+# {{{ Pacman
+alias pacup='sudo pacman -Syu' # Sync, Update & Upgrade
+alias pacsy='sudo pacman -Sy' # Sync & Update
+alias paclu='pacman -Qu' # List upgradeable
+alias pacin='sudo pacman -S' # Install a specific package
+alias pacnd='sudo pacman -Sd' # Install a package but ignore deps
+alias pacrm='sudo pacman -Rns' # Remove a specific package
+alias pacrd='sudo pacman -Rd' # Remove a package but ignore deps
+alias pacss='pacman -Ss' # Search for a package
+alias pacsl='pacman -Qs' # Search for a package localy
+alias pacsi='pacman -Si' # Package info
+alias pacqi='pacman -Qi' # Package local info
+alias pacls='pacman -Ql' # List files in a package
+alias pacui='pacman -Qm' # List localy built packages
+alias pacfi='pacman -Qo' # Which package file belongs to
+alias paccl='sudo pacman -Scc' # Fully clean the package cache
+alias pacdl='sudo pacman -Sw' # Download a package without installing
+alias paclo='pacman -Qdt' # List package orphans
+alias paclog='pacman -Qc' # Package changelog
+# }}}
+
+# {{{ Slurpy
+alias aurup='slurpy -c -u -d' # Sync, Update & Download
+alias aurlu='slurpy -c -u' # Update & List upgradeable
+alias aurss='slurpy -c -s' # Search for a package
+alias aursi='slurpy -c -i' # Package info
+alias aurdl='slurpy -c -d' # Download a package without installing
+# }}}
+
+# {{{ Swaret
+alias swup='sudo swaret --update --upgrade' # Sync, Update & Upgrade
+alias swsy='sudo swaret --update' # Sync & Update
+alias swlu='sudo swaret --list -u' # List upgradeable
+alias swin='sudo swaret --install' # Install a specific package
+alias swrm='sudo swaret --remove' # Remove a specific package
+alias swss='sudo swaret --search' # Search for a package
+swsl() { sudo swaret --search $1 -i } # Search for a package localy
+swsi() { sudo swaret --show $1 -p } # Package info
+swqi() { sudo swaret --show $1 -i } # Package local info
+swls() { less "$(locate /var/log/packages/$1)" } # List files in a package
+swfi() { grep $1 /var/log/packages/* } # Which package file belongs to
+alias swui='sudo swaret --search aic -i' # List localy built packages
+alias swcl='sudo swaret --purge' # Fully clean the package cache
+alias swdl='sudo swaret --get' # Download a package without installing
+alias swlog='sudo swaret --changelog' # Package changelog
+# }}}
+# }}}
+
+# {{{ Completion
+compctl -k '(add delete draft edit list import preview publish update)' nb
+# }}}
+
+# {{{ Functions
+function yn () { $BROWSER "http://yubnub.org/parser/parse?command=$*" }
+function pmem () { ps -o rss,comm -p $(pgrep $1) }
+function dsync () { rsync -lprt --progress --stats --delete "$1/" "$2/" }
+
+function define () {
+ dictionary="english"
+ [[ "$2" != "" ]] && dictionary=$2
+ echo "DEFINE $dictionary $1\nQUIT" | netcat dict.org 2628
+}
+
+function scrot () {
+ if [[ -z $1 ]]; then
+ print -P "Usage: scrot [basename] [format]"
+ print -P "Take a desktop screenshot and generate a thumbnail."
+ else
+ if [ $2 ]; then
+ format=$2
+ else
+ format=png
+ fi
+ timestamp=`date +%d%m%y-%H%M`
+ echo "Taking a screenshot..."
+ import -window root -quality 100 ~/$1-$timestamp.$format
+ echo "Generating a thumbnail..."
+ cp ~/$1-$timestamp.$format ~/$1-$timestamp.th.$format
+ mogrify -resize 15% ~/$1-$timestamp.th.$format
+ echo "Saved as ~/$1-$timestamp.$format"
+ fi
+}
+
+function extract () {
+ if [[ -z "$1" ]]; then
+ print -P "Usage: extract filename"
+ print -P "Extract a given file based on the extension."
+ elif [[ -f "$1" ]]; then
+ case "$1" in
+ *.tbz2 | *.tar.bz2) tar -xvjf "$1" ;;
+ *.txz | *.tar.xz) tar -xvJf "$1" ;;
+ *.tgz | *.tar.gz) tar -xvzf "$1" ;;
+ *.tar | *.cbt) tar -xvf "$1" ;;
+ *.zip | *.cbz) unzip "$1" ;;
+ *.rar | *.cbr) unrar x "$1" ;;
+ *.arj) unarj x "$1" ;;
+ *.ace) unace x "$1" ;;
+ *.bz2) bunzip2 "$1" ;;
+ *.xz) unxz "$1" ;;
+ *.gz) gunzip "$1" ;;
+ *.7z) 7z x "$1" ;;
+ *.Z) uncompress "$1" ;;
+ *.gpg) gpg -d "$1" | tar -xvzf - ;;
+ *) echo "Error: failed to extract '$1'" ;;
+ esac
+ else
+ echo "Error: '$1' is not a valid file for extraction"
+ fi
+}
+# }}}
+# }}}
+
+
+# {{{ ZSH settings
+setopt emacs
+setopt nohup
+setopt autocd
+setopt cdablevars
+setopt ignoreeof
+setopt nobgnice
+setopt nobanghist
+setopt noclobber
+setopt shwordsplit
+#setopt mailwarning
+setopt interactivecomments
+setopt autopushd pushdminus pushdsilent pushdtohome
+setopt histreduceblanks histignorespace inc_append_history
+#
+# new style completion system
+autoload -U compinit; compinit
+# list of completers to use
+zstyle ':completion:*' completer _complete _match _approximate
+# allow approximate
+zstyle ':completion:*:match:*' original only
+zstyle ':completion:*:approximate:*' max-errors 1 numeric
+# selection prompt as menu
+zstyle ':completion:*' menu select=1
+# menuselection for pid completion
+zstyle ':completion:*:*:kill:*' menu yes select
+zstyle ':completion:*:kill:*' force-list always
+zstyle ':completion:*:processes' command 'ps -au$USER'
+zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;32'
+# cd don't select parent dir
+zstyle ':completion:*:cd:*' ignore-parents parent pwd
+# complete with colors
+zstyle ':completion:*' list-colors ''
+# }}}
+
+
+# {{{ Prompt settings
+function precmd {
+ ###
+ # terminal width to one less than the actual width for lineup
+ local TERMWIDTH
+ (( TERMWIDTH = ${COLUMNS} - 1 ))
+ ###
+ # truncate the path if it's too long
+ PR_FILLBAR=""
+ PR_PWDLEN=""
+ local promptsize=${#${(%):---(%n@%m:%l)---()--}}
+ local pwdsize=${#${(%):-%~}}
+ if [[ "$promptsize + $pwdsize" -gt $TERMWIDTH ]]; then
+ ((PR_PWDLEN=$TERMWIDTH - $promptsize))
+ else
+ PR_FILLBAR="\${(l.(($TERMWIDTH - ($promptsize + $pwdsize)))..${PR_HBAR}.)}"
+ fi
+}
+###
+# set the window title in screen to the currently running program
+setopt extended_glob
+function preexec () {
+ if [[ "$TERM" == "screen" ]]; then
+ local CMD=${1[(wr)^(*=*|sudo|-*)]}
+ echo -n "\ek$CMD\e\\"
+ fi
+}
+function setprompt () {
+ ###
+ # need this so the prompt will work
+ setopt prompt_subst
+ ###
+ # try to use colors
+ autoload colors zsh/terminfo
+ if [[ "$terminfo[colors]" -ge 8 ]]; then
+ colors
+ fi
+ for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
+ eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
+ eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
+ (( count = $count + 1 ))
+ done
+ PR_NO_COLOUR="%{$terminfo[sgr0]%}"
+ ###
+ # try to use extended characters to look nicer
+ typeset -A altchar
+ set -A altchar ${(s..)terminfo[acsc]}
+ PR_SET_CHARSET="%{$terminfo[enacs]%}"
+ PR_SHIFT_IN="%{$terminfo[smacs]%}"
+ PR_SHIFT_OUT="%{$terminfo[rmacs]%}"
+ PR_HBAR=${altchar[q]:--}
+ PR_ULCORNER=${altchar[l]:--}
+ PR_LLCORNER=${altchar[m]:--}
+ PR_LRCORNER=${altchar[j]:--}
+ PR_URCORNER=${altchar[k]:--}
+ ###
+ # set titlebar text on a terminal emulator
+ case $TERM in
+ rxvt*)
+ PR_TITLEBAR=$'%{\e]0;%(!.*ROOT* | .)%n@%m:%~ | ${COLUMNS}x${LINES} | %y\a%}'
+ ;;
+ screen)
+ PR_TITLEBAR=$'%{\e_screen \005 (\005t) | %(!.*ROOT* |.)%n@%m:%~ | ${COLUMNS}x${LINES} | %y\e\\%}'
+ ;;
+ *)
+ PR_TITLEBAR=''
+ ;;
+ esac
+ ###
+ # Linux console and Emacs ansi-term get simpler prompts, the rest have:
+ # - (user@hostname:tty)--($PWD) and an exit code of the last command
+ # - right hand prompt which makes room if the command line grows past it
+ # - PS2 continuation prompt to match PS1 in color
+ case $TERM in
+ dumb)
+ unsetopt zle
+ PROMPT='%n@%m:%~%% '
+ ;;
+ eterm-color)
+ PROMPT='$PR_YELLOW%n$PR_WHITE:%~$PR_NO_COLOUR%% '
+ ;;
+ linux)
+ # zenburn for the Linux console
+ echo -en "\e]P01e2320" #zen-black (norm. black)
+ echo -en "\e]P8709080" #zen-bright-black (norm. darkgrey)
+ echo -en "\e]P1705050" #zen-red (norm. darkred)
+ echo -en "\e]P9dca3a3" #zen-bright-red (norm. red)
+ echo -en "\e]P260b48a" #zen-green (norm. darkgreen)
+ echo -en "\e]PAc3bf9f" #zen-bright-green (norm. green)
+ echo -en "\e]P3dfaf8f" #zen-yellow (norm. brown)
+ echo -en "\e]PBf0dfaf" #zen-bright-yellow (norm. yellow)
+ echo -en "\e]P4506070" #zen-blue (norm. darkblue)
+ echo -en "\e]PC94bff3" #zen-bright-blue (norm. blue)
+ echo -en "\e]P5dc8cc3" #zen-purple (norm. darkmagenta)
+ echo -en "\e]PDec93d3" #zen-bright-purple (norm. magenta)
+ echo -en "\e]P68cd0d3" #zen-cyan (norm. darkcyan)
+ echo -en "\e]PE93e0e3" #zen-bright-cyan (norm. cyan)
+ echo -en "\e]P7dcdccc" #zen-white (norm. lightgrey)
+ echo -en "\e]PFffffff" #zen-bright-white (norm. white)
+ # avoid 'artefacts'
+ #clear
+ #
+ PROMPT='$PR_GREEN%n@%m$PR_WHITE:$PR_YELLOW%l$PR_WHITE:$PR_RED%~$PR_YELLOW%%$PR_NO_COLOUR '
+ ;;
+ *)
+ PROMPT='$PR_SET_CHARSET$PR_STITLE${(e)PR_TITLEBAR}\
+$PR_GREEN$PR_SHIFT_IN$PR_ULCORNER$PR_GREEN$PR_HBAR$PR_SHIFT_OUT(\
+$PR_GREEN%(!.%SROOT%s.%n)$PR_GREEN@%m$PR_WHITE:$PR_YELLOW%l\
+$PR_GREEN)$PR_SHIFT_IN$PR_HBAR$PR_GREEN$PR_HBAR${(e)PR_FILLBAR}$PR_GREEN$PR_HBAR$PR_SHIFT_OUT(\
+$PR_RED%$PR_PWDLEN<...<%~%<<$PR_GREEN)$PR_SHIFT_IN$PR_HBAR$PR_GREEN$PR_URCORNER$PR_SHIFT_OUT\
+
+$PR_GREEN$PR_SHIFT_IN$PR_LLCORNER$PR_GREEN$PR_HBAR$PR_SHIFT_OUT(\
+%(?..$PR_RED%?$PR_WHITE:)%(!.$PR_RED.$PR_YELLOW)%#$PR_GREEN)$PR_NO_COLOUR '
+
+ RPROMPT=' $PR_GREEN$PR_SHIFT_IN$PR_HBAR$PR_GREEN$PR_LRCORNER$PR_SHIFT_OUT$PR_NO_COLOUR'
+
+ PS2='$PR_GREEN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\
+$PR_GREEN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT(\
+$PR_YELLOW%_$PR_GREEN)$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\
+$PR_GREEN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT$PR_NO_COLOUR '
+ ;;
+ esac
+}
+
+# Prompt init
+setprompt
+# }}}