Browse Source

delete finally works in zsh omg

master
James Wheaton 9 years ago
parent
commit
90f571d458
7 changed files with 185 additions and 98 deletions
  1. 1
    0
      .Xdefaults
  2. 144
    92
      .config/uzbl/config
  3. 7
    1
      .local/share/uzbl/bookmarks
  4. 1
    0
      .weatherrc
  5. 3
    0
      .xmonad/xmonad.hs
  6. 28
    4
      .zshrc
  7. 1
    1
      bin/dvd2avi

+ 1
- 0
.Xdefaults View File

@@ -1,5 +1,6 @@
URxvt*termName: rxvt-unicode
URxvt.buffered: true
URxvt.scrollBar: false
URxvt.visualBell: true
URxvt.cursorColor: gray
URxvt.underlineColor: gray

+ 144
- 92
.config/uzbl/config View File

@@ -3,8 +3,11 @@

# === Core settings ==========================================================

# Install location prefix.
set prefix = /usr
# common directory locations
set prefix = @(echo $PREFIX)@
set data_home = @(echo $XDG_DATA_HOME)@
set cache_home = @(echo $XDG_CACHE_HOME)@
set config_home = @(echo $XDG_CONFIG_HOME)@

# Interface paths.
set fifo_dir = /tmp
@@ -12,6 +15,8 @@ set socket_dir = /tmp

set shell_cmd = sh -c

set proxy_url = http://hephaestus:8118

# === General config aliases =================================================

# Config related events (use the request function):
@@ -25,8 +30,6 @@ set on_set = request ON_SET
set modmap = request MODMAP
# request IGNORE_KEY <glob>
set ignore_key = request IGNORE_KEY
# request MODKEY_ADDITION <key1> <key2> <keyn> <result>
set modkey_addition = request MODKEY_ADDITION
# request TOGGLE_MODES <mode1> <mode2> ... <moden>
set toggle_modes = request TOGGLE_MODES

@@ -34,29 +37,30 @@ set set_mode = set mode =
set set_status = set status_message =

# Spawn path shortcuts. In spawn the first dir+path match is used in "dir1:dir2:dir3:executable"
set scripts_dir = $XDG_DATA_HOME/uzbl:@prefix/share/uzbl/examples/data:scripts
set stylesheet_uri = file://$XDG_DATA_HOME/uzbl/lich.css
set scripts_dir = @data_home/uzbl:@prefix/share/uzbl/examples/data:scripts

# === Hardcoded handlers =====================================================

# These handlers can't be moved to the new event system yet as we don't
# support events that can wait for a response from a script.
set cookie_handler = talk_to_socket $XDG_CACHE_HOME/uzbl/cookie_daemon_socket
set scheme_handler = sync_spawn @scripts_dir/scheme.py
set authentication_handler = sync_spawn @scripts_dir/auth.py
set proxy_url = http://localhost:8118
set download_handler = sync_spawn @scripts_dir/download.sh

# === Dynamic event handlers =================================================

# What to do when a website wants to open a new window:
# Open link in new window
@on_event NEW_WINDOW sh 'uzbl-browser -u "$8"' %r
# Open in current window
@on_event NEW_WINDOW sh 'uzbl-browser ${1:+-u "$1"}' %r
# Open in current window (also see the REQ_NEW_WINDOW event handler below)
#@on_event NEW_WINDOW uri %s
# Open in new tab
# Open in new tab. Other options are NEW_TAB_NEXT, NEW_BG_TAB and NEW_BG_TAB_NEXT.
#@on_event NEW_WINDOW event NEW_TAB %s

# Download handler
@on_event DOWNLOAD_REQUEST spawn @scripts_dir/dl-progress.sh %s
# What to do when the user requests a new window:
# If your the NEW_WINDOW handler opens the uri in the current window, you'll
# probably want to change this handler to open a new window or tab.
@on_event REQ_NEW_WINDOW event NEW_WINDOW %s

# Load start handler
@on_event LOAD_START @set_status <span foreground="khaki">wait</span>
@@ -65,60 +69,83 @@ set proxy_url = http://localhost:8118

# Load commit handlers
@on_event LOAD_COMMIT @set_status <span foreground="green">recv</span>
#@on_event LOAD_COMMIT spawn @scripts_dir/adblock.py

#@on_event LOAD_PROGRESS js uzblAdBlock();
# add some javascript to the page for other 'js' and 'script' commands to access later.
@on_event LOAD_COMMIT js uzbl = {};
@on_event LOAD_COMMIT script @scripts_dir/formfiller.js
@on_event LOAD_COMMIT script @scripts_dir/follow.js

# Userscripts/per-site-settings. See the script and the example configuration for details
#@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/uzbl/per-site-settings

# Load finish handlers
@on_event LOAD_FINISH @set_status <span foreground="gold">done</span>
@on_event LOAD_FINISH spawn @scripts_dir/history.sh
# @on_event LOAD_FINISH chain 'set status_message = ...' 'spawn @scripts_dir/ytvp.sh $4 $6'

# Switch to insert mode if a (editable) html form is clicked
@on_event FORM_ACTIVE @set_mode insert
@on_event FOCUS_ELEMENT sh 'if [ "$1" = INPUT -o "$1" = TEXTAREA -o "$1" = SELECT ]; then echo "@set_mode insert" > $UZBL_FIFO; fi' %s
# Switch to command mode if anything else is clicked
@on_event ROOT_ACTIVE @set_mode command

# Example CONFIG_CHANGED event handler
#@on_event CONFIG_CHANGED print Config changed: %1 = %2

# Scroll percentage calculation
@on_event SCROLL_VERT set scroll_message = \@<(function(curr, min, max, size){if(max == size) return '--'; var p=(curr/(max - size)); return Math.round(10000*p)/100;})(%1,%2,%3,%4)>\@%

# === Behaviour and appearance ===============================================

set show_status = 1
set status_top = 0
set status_background = #303030
# Custom CSS can be defined here, including link follower hint styles
set stylesheet_uri = file://@config_home/uzbl/style.css

set show_status = 1
set status_top = 0
set status_background = #303030

set scrollbars_visible = 0

set modcmd_style = weight="bold" foreground="red"
set keycmd_style = weight="light" foreground="red"
set prompt_style = foreground="grey"
set cursor_style = underline="single"
set completion_style = foreground="green"
set hint_style = weight="bold"

set modcmd_style = weight="bold" foreground="red"
set keycmd_style = weight="light" foreground="red"
set prompt_style = foreground="grey"
set cursor_style = underline="single"
set completion_style = foreground="green"
set hint_style = weight="bold"
set mode_section = <span background="khaki" foreground="black">[\@[\@mode_indicator]\@]</span>
set keycmd_section = [<span \@prompt_style>\@[\@keycmd_prompt]\@</span><span \@modcmd_style>\@modcmd</span><span \@keycmd_style>\@keycmd</span><span \@completion_style>\@completion_list</span>]
set progress_section = <span foreground="#606060">\@[\@progress.output]\@</span>
set scroll_section = <span foreground="#606060">\@[\@scroll_message]\@</span>
set uri_section = <span foreground="#99FF66">\@[\@uri]\@</span>
set name_section = <span foreground="khaki">\@[\@NAME]\@</span>
set status_section = <span foreground="orange">\@status_message</span>
set selected_section = <span foreground="#606060">\@[\@SELECTED_URI]\@</span>

set mode_section = <span background="khaki" foreground="black">[\@[\@mode_indicator]\@]</span>
set keycmd_section = [<span \@prompt_style>\@[\@keycmd_prompt]\@</span><span \@modcmd_style>\@modcmd</span><span \@keycmd_style>\@keycmd</span><span \@completion_style>\@completion_list</span>]
set progress_section = <span foreground="#606060">\@[\@progress.output]\@</span>
set scroll_section = <span foreground="#606060">\@[\@scroll_message]\@</span>
set uri_section = <span foreground="#99FF66">\@[\@uri]\@</span>
set name_section = <span foreground="khaki">\@[\@NAME]\@</span>
set status_section = <span foreground="orange">\@status_message</span>
set selected_section = <span foreground="#606060">\@[\@SELECTED_URI]\@</span>
set download_section = <span foreground="white">\@downloads</span>

set status_format = <span font_family="monospace">@mode_section @keycmd_section @progress_section @uri_section @name_section @status_section @scroll_section @selected_section</span>
set status_format = <span font_family="monospace">@mode_section @keycmd_section @progress_section @name_section @status_section @scroll_section @selected_section @download_section</span>
set status_format_right = <span font_family="monospace"><span foreground="#666">uri:</span> @uri_section</span>

set title_format_long = \@keycmd_prompt \@raw_modcmd \@raw_keycmd \@TITLE - Uzbl browser <\@NAME> \@SELECTED_URI
set title_format_long = \@keycmd_prompt \@raw_modcmd \@raw_keycmd \@TITLE - Uzbl browser <\@NAME> \@SELECTED_URI

# Progress bar config
# %d = done, %p = pending %c = percent done, %i = int done, %s = spinner,
# %t = percent pending, %o = int pending, %r = sprite scroll
set progress.width = 8
set progress.format = [%d>%p]%c
set progress.done = =
set progress.pending =
set progress.width = 8
set progress.format = [%d>%p]%c
set progress.done = =
set progress.pending =

# === Useragent setup ========================================================

set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}.@{WEBKIT_MICRO}) (@(+uname -sm)@ [@ARCH_UZBL]) (Commit @COMMIT)
set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname -sm)@ [@ARCH_UZBL])

# === Configure cookie blacklist ========================================================

# Accept 'session cookies' from uzbl.org (when you have a whitelist all other cookies are dropped)
#request WHITELIST_COOKIE domain 'uzbl.org$' expires '^$'

# Drop google analytics tracking cookies (applied after whitelists if any)
#request BLACKLIST_COOKIE name '^__utm.$'

# === Key binding configuration ==============================================
# --- Internal modmapping and ignoring ---------------------------------------
@@ -127,15 +154,13 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}.@{WEBKIT_MI
@modmap <Control> <Ctrl>
@modmap <ISO_Left_Tab> <Shift-Tab>
@modmap <space> <Space>

#modkey_addition <Key1> <Key2> <Result>
@modkey_addition <Shift> <Ctrl> <Meta>
@modkey_addition <Shift> <Tab> <Shift-Tab>
@modkey_addition <Shift> <Insert> <Shift-Insert>
@modmap <KP_Enter> <Enter>

#ignore_key <glob>
@ignore_key <ISO_*>
@ignore_key <Shift>
@ignore_key <Multi_key>
@ignore_key <Mod2>

# --- Bind aliases -----------------------------------------------------------

@@ -158,6 +183,8 @@ set ebind = @mode_bind global,-insert

# Resets keycmd and returns to default mode.
@on_event ESCAPE @set_mode
@on_event ESCAPE event KEYCMD_CLEAR
@on_event ESCAPE js uzbl.follow.clearHints()
@bind <Escape> = event ESCAPE
@bind <Ctrl>[ = event ESCAPE

@@ -171,15 +198,24 @@ set ebind = @mode_bind global,-insert
@ebind <Delete> = event KEYCMD_DELETE
@ebind <Tab> = event START_COMPLETION
# Readline-ish bindings.
@ebind <Ctrl>w = event KEYCMD_STRIP_WORD
@ebind <Ctrl>w = event KEYCMD_STRIP_WORD \ -./&?=
@ebind <Ctrl>u = event SET_KEYCMD
@ebind <Ctrl>a = event SET_CURSOR_POS 0
@ebind <Ctrl>e = event SET_CURSOR_POS -1

@ebind <Up> = event HISTORY_PREV
@ebind <Down> = event HISTORY_NEXT
@ebind <Ctrl>r<search:>_ = event HISTORY_SEARCH %s
# Keycmd injection/append examples.
#@ebind <Ctrl>su = event INJECT_KEYCMD \@uri
#@ebind <Ctrl>st = event INJECT_KEYCMD \@title
#@ebind <Ctrl>du = event APPEND_KEYCMD \@uri
#@ebind <Ctrl>dt = event APPEND_KEYCMD \@title

# --- Mouse bindings ---------------------------------------------------------

# Middle click open in new window
@bind <Button2> = sh 'if [ "\@SELECTED_URI" ]; then uzbl-browser -u "\@SELECTED_URI"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > $4; fi'
@bind <Button2> = sh 'if [ "$1" ]; then echo "event REQ_NEW_WINDOW $1" > "$UZBL_FIFO"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' '\@SELECTED_URI'

# --- Keyboard bindings ------------------------------------------------------

@@ -187,17 +223,26 @@ set ebind = @mode_bind global,-insert
# a colon.
@cbind :_ = %s

# open a new window or a new tab (see the on_event NEW_WINDOW settings above)
@cbind w = event REQ_NEW_WINDOW

# Page movement binds
@cbind j = scroll vertical 40
@cbind j = scroll vertical 20
@cbind J = scroll vertical 25%
@cbind k = scroll vertical -40
@cbind k = scroll vertical -20
@cbind K = scroll vertical -25%
@cbind h = scroll horizontal -40
@cbind l = scroll horizontal 40
@cbind h = scroll horizontal -20
@cbind H = scroll horizontal -25%
@cbind l = scroll horizontal 20
@cbind L = scroll horizontal 25%
@cbind <Page_Up> = scroll vertical -100%
@cbind <Page_Down> = scroll vertical 100%
@cbind <Ctrl>f = scroll vertical 100%
@cbind <Ctrl>b = scroll vertical -100%
@cbind << = scroll vertical begin
@cbind >> = scroll vertical end
@cbind <Home> = scroll vertical begin
@cbind <End> = scroll vertical end
@cbind ^ = scroll horizontal begin
@cbind $ = scroll horizontal end
@cbind <Space> = scroll vertical end
@@ -214,7 +259,7 @@ set ebind = @mode_bind global,-insert
@cbind - = zoom_out
@cbind T = toggle_zoom_type
@cbind 1 = set zoom_level = 1.0
@cbind 2 = set zoom_level = 1.5
@cbind 2 = set zoom_level = 1.5

# Appearance binds
@cbind t = toggle_status
@@ -226,31 +271,29 @@ set ebind = @mode_bind global,-insert
@cbind n = search
@cbind N = search_reverse

# Print pages to a printer
@cbind <Ctrl>p = hardcopy

# Web searching binds
@cbind gg<Google:>_ = uri http://www.google.com/search?q=\@<encodeURIComponent(%r)>\@
@cbind ddg<DuckDuckGo:>_ = uri http://duckduckgo.com/?q=%s
@cbind \\awiki<Archwiki:>_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@<encodeURIComponent(%r)>\@&go=Go
@cbind \\wiki<Wikipedia:>_ = uri http://en.wikipedia.org/w/index.php?title=Special:Search&search=\@<encodeURIComponent(%r)>\@&go=Go

# Handy binds
# Set function shortcut
@cbind s<var:>_<value:>_ = set %1 = %2
# Open new uzbl-browser window with blank page
@cbind ZN = sh "uzbl-browser -u ''"
# Exit binding
# Toggle view source - must refresh
# @cbind a = set view_source = 1
# @cbind A = set view_source = 0

@cbind ZZ = exit
# Dump config to stdout
@cbind !dump = sh "echo dump_config > $4"
# Reload config
@cbind !reload = sh "cat $1 > $4"
@cbind !dump = sh 'echo dump_config > "$UZBL_FIFO"'
# Reload all variables in the config
@cbind !reload = sh "sed '/^# === Post-load misc commands/,$d' \"$UZBL_CONFIG\" | grep '^set ' > \"$UZBL_FIFO\""

# Use socat to directly inject commands into uzbl-core and view events
# raised by uzbl-core:
@cbind <Ctrl><Alt>t = sh 'xterm -e "socat unix-connect:$5 -"'
#@cbind <Ctrl><Alt>t = sh 'urxvt -e socat unix-connect:$5 -'
@cbind <Ctrl><Mod1>t = sh 'xterm -e "socat unix-connect:\"$UZBL_SOCKET\" -"'
#@cbind <Ctrl><Mod1>t = sh 'urxvt -e socat unix-connect:"$UZBL_SOCKET" -'

# Uri opening prompts
@cbind o<uri:>_ = uri %s
@@ -263,49 +306,56 @@ set ebind = @mode_bind global,-insert

# Hard-bound bookmarks
@cbind gh = uri http://www.uzbl.org
@cbind gd = uri delicious.com/uranther
@cbind gr = uri reddit.com
@cbind gm = uri gmail.com
@cbind ga = uri archlinux.org

# Bookmarklets
@cbind x = script $XDG_DATA_HOME/uzbl/readability.js
#@cbind db = script $XDG_DATA_HOME/uzbl/delicious_bookmark.js
# Delicious bookmark
@cbind q = script $XDG_DATA_HOME/uzbl/jquery.js
# New window binds
@cbind gw = event REQ_NEW_WINDOW

# Hide elements after jquery has been loaded
@cbind C<hide element:>_ = js $('%s').hide()
# SSL-ify bindings
@cbind zs = uri \@(echo "$UZBL_URI" | sed -e 's/^http:/https:/')\@
@cbind zS = event REQ_NEW_WINDOW \@(echo "$UZBL_URI" | sed -e 's/^http:/https:/')\@

# Yanking & pasting binds
@cbind yu = sh 'echo -n $6 | xclip'
@cbind yy = sh 'echo -n $7 | xclip'
@cbind yu = sh 'echo -n "$UZBL_URI" | xclip'
@cbind yU = sh 'echo -n "$1" | xclip' '\@SELECTED_URI'
@cbind yy = sh 'echo -n "$UZBL_TITLE" | xclip'

# Clone current window
@cbind c = event REQ_NEW_WINDOW \@uri
# Go the page from primary selection
@cbind p = sh 'echo "uri `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'
@cbind p = sh 'echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'
# Go to the page in clipboard
@cbind P = sh 'echo "uri `xclip -selection clipboard -o | sed s/\\\@/%40/g`" > $4'
@cbind P = sh 'echo "uri $(xclip -selection clipboard -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'
# Start a new uzbl instance from the page in primary selection
@cbind 'p = sh 'exec uzbl-browser --uri $(xclip -o)'
@cbind 'p = sh 'echo "event REQ_NEW_WINDOW $(xclip -o)" > "$UZBL_FIFO"'
# paste primary selection into keycmd at the cursor position
@bind <Shift-Insert> = sh 'echo "event INJECT_KEYCMD `xclip -o | sed s/\\\@/%40/g`" > $4'
@bind <Shift><Insert> = sh 'echo "event INJECT_KEYCMD $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'

# Bookmark inserting binds
# @cbind <Ctrl>b<tags:>_ = sh 'echo -e "$6 %s" >> $XDG_DATA_HOME/uzbl/bookmarks'
@cbind <Ctrl>d<tags:>_ = sh 'echo "$UZBL_URI $1" >> "$XDG_DATA_HOME"/uzbl/bookmarks' '%s'
# Or use a script to insert a bookmark.
@cbind B<tags:>_ = spawn @scripts_dir/delicious_bookmark.sh "%s"
@cbind M = spawn @scripts_dir/insert_bookmark.sh

# Bookmark/history loading
@cbind U = spawn @scripts_dir/load_url_from_history.sh
@cbind u = spawn @scripts_dir/load_url_from_bookmarks.sh

# Temporary bookmarks
#@cbind <Ctrl>d = spawn @scripts_dir/insert_temp.sh
#@cbind D = spawn @scripts_dir/load_url_from_temps.sh

# Link following (similar to vimperator and konqueror)
# Set custom keys you wish to use for navigation. Some common examples:
set follow_hint_keys = 0123456789
#set follow_hint_keys = qwerty
#set follow_hint_keys = asdfghjkl;
#set follow_hint_keys = thsnd-rcgmvwb/;789aefijkopquxyz234
@cbind fl* = script @scripts_dir/follow.js '@follow_hint_keys %s'
@cbind fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'click') >\@
@cbind Fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'newwindow') >\@
@cbind fL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ set
@cbind FL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ clipboard
@cbind fi = spawn @scripts_dir/go_input.sh

@cbind '* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'click') >\@

# Form filler binds
# This script allows you to configure (per domain) values to fill in form
@@ -313,10 +363,10 @@ set follow_hint_keys = 0123456789
# This implementation allows you to save multiple profiles for each form
# (think about multiple accounts on some website).
set formfiller = spawn @scripts_dir/formfiller.sh
@cbind za = @formfiller add
@cbind ze = @formfiller edit
@cbind zn = @formfiller new
@cbind zl = @formfiller load
@cbind zo = @formfiller once

# --- Uzbl tabbed binds ------------------------------------------------------

@@ -325,7 +375,6 @@ set formfiller = spawn @scripts_dir/formfiller.sh
@cbind gN = event NEW_TAB_NEXT
@cbind go<uri:>_ = event NEW_TAB %s
@cbind gO<uri:>_ = event NEW_TAB_NEXT %s
@cbind gY = sh 'echo "event NEW_TAB `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'

# Closing / resting
@cbind gC = exit
@@ -343,7 +392,8 @@ set preset = event PRESET_TABS
@cbind gs<preset save:>_ = @preset save %s
@cbind glo<preset load:>_ = @preset load %s
@cbind gd<preset del:>_ = @preset del %s
@cbind gli = @preset list
# This doesn't work right now.
#@cbind gli = @preset list

# === Context menu items =====================================================

@@ -379,19 +429,21 @@ set stack = @mode_config stack
@insert modcmd_updates = 0

# Multi-stage-binding mode config.
@stack keycmd_events = 1
@stack modcmd_updates = 1
@stack forward_keys = 0
@stack keycmd_style = foreground="red"
@stack prompt_style = foreground="#888" weight="light"
@stack status_background = #202020
@stack mode_indicator = Bnd
@stack prompt_style = foreground="#888" weight="light"
@stack keycmd_events = 1
@stack modcmd_updates = 1
@stack forward_keys = 0

set default_mode = command

# === Post-load misc commands ================================================
sync_spawn_exec @scripts_dir/load_cookies.sh
sync_spawn_exec @scripts_dir/load_cookies.sh @data_home/uzbl/session-cookies.txt

# Set the "home" page.
# set uri = www.google.com/
set uri = google.com

# vim: set fdm=syntax:

+ 7
- 1
.local/share/uzbl/bookmarks View File

@@ -1,3 +1,9 @@
http://aur.archlinux.org/packages.php?ID=34554&detail=1 archlinux
http://www.uzbl.org/ uzbl
http://www.google.com/ig google
http://symfony.com/doc/2.0/book/ symfony
http://en.wikibooks.org/wiki/Engineering_Statics wikibook
https://wiki.archlinux.org/index.php/Main_Page arch
http://www.archlinux.org/packages/ arch
https://aur.archlinux.org/ arch
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=site%3Agroups.google.com%2Fgroup%2Fsymfony2&oq=site%3Agroups.google.com%2Fgroup%2Fsymfony2&aq=f&aqi=&aql=&gs_sm=e&gs_upl=1650l40800l0l41036l12l11l1l0l0l0l238l1272l5.4.1l10l0
http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-1&q=site%3Agroups.google.com%2Fgroup%2Fsymfony2&oq=site%3Agroups.google.com%2Fgroup%2Fsymfony2&aq=f&aqi=&aql=&gs_sm=e&gs_upl=957l957l0l1870l1l1l0l0l0l0l168l168l0.1l1l0 symfony

+ 1
- 0
.weatherrc View File

@@ -3,4 +3,5 @@ City = Lafayette
St = IN
Forecast = True
ID = KLAF
Verbose = True


+ 3
- 0
.xmonad/xmonad.hs View File

@@ -25,4 +25,7 @@ main = do
, isFullscreen --> doFullFloat ]
} `additionalKeys`
[ (( mod4Mask, xK_u), spawn "uzbl-browser")
, (( mod4Mask, xK_g), spawn "uzbl-browser http://gokgs.com/applet.jsp")
, (( mod4Mask, xK_m), spawn "uzbl-browser gmail.com")
, ((mod4Mask, xK_p ), spawn "dmenu_run")
]

+ 28
- 4
.zshrc View File

@@ -1,12 +1,36 @@
alias vi='vim'
alias cabal='~/.cabal/bin/cabal'
alias lsc='ls --color=no'
export EDITOR="vim"

fortune ~/fortune-mod-buddhism/buddhism
echo ""
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
bindkey "\e[5~" beginning-of-history
bindkey "\e[6~" end-of-history
bindkey "\e[3~" delete-char
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
bindkey "\e[2~" quoted-insert
bindkey "\e[5C" forward-word
bindkey "\eOc" emacs-forward-word
bindkey "\e[5D" backward-word
bindkey "\eOd" emacs-backward-word
bindkey "\e\e[C" forward-word
bindkey "\e\e[D" backward-word
# for rxvt
bindkey "\e[8~" end-of-line
bindkey "\e[7~" beginning-of-line
# for non RH/Debian xterm, can't hurt for RH/Debian xterm
bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line
# for freebsd console
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward

bindkey "^[[1~" beginning-of-line
bindkey "^[[4~" end-of-line
bindkey "^[[3~" delete-char

# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
@@ -31,4 +55,4 @@ plugins=()
source $ZSH/oh-my-zsh.sh

# Customize to your needs...
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/home/james/bin
export PATH=/home/james/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core

+ 1
- 1
bin/dvd2avi View File

@@ -22,7 +22,7 @@ fi

if [[ $Q = h ]]; then
# If h passed, use high quality
mencoder dvd://$TITLE -alang en -oac mp3lame -lameopts br=320:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 800 -o $FILE.avi
mencoder dvd://$TITLE -alang en -nosub -oac mp3lame -lameopts br=320:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 800 -o $FILE.avi
exit $?
fi


Loading…
Cancel
Save