]> git.pld-linux.org Git - packages/uzbl.git/blame - uzbl-config.patch
- updated for uzbl-20090718
[packages/uzbl.git] / uzbl-config.patch
CommitLineData
bbb6dd45 1diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
2index ab2cf7f..d34795e 100644
3--- a/examples/config/uzbl/config
4+++ b/examples/config/uzbl/config
5@@ -4,9 +4,9 @@
6 # keyboard behavior in this sample config is sort of vimstyle
ec09136d 7
bbb6dd45 8 # Handlers
ec09136d 9-set history_handler = spawn $XDG_DATA_HOME/uzbl/scripts/history.sh
10-set download_handler = spawn $XDG_DATA_HOME/uzbl/scripts/download.sh
11-set cookie_handler = spawn $XDG_DATA_HOME/uzbl/scripts/cookies.py
12+set history_handler = spawn /usr/share/uzbl/scripts/history.sh
13+set download_handler = spawn /usr/share/uzbl/scripts/download.sh
14+set cookie_handler = spawn /usr/share/uzbl/scripts/cookies.py
bbb6dd45 15 #set new_window = sh 'echo uri "$8" > $4' # open in same window
16 set new_window = sh 'uzbl -u $8' # equivalent to the default behaviour
ec09136d 17 set load_start_handler = set status_message = <span foreground="khaki">wait</span>
bbb6dd45 18@@ -60,6 +60,7 @@ bind gh = uri http://www.uzbl.org
19 bind o _ = uri %s
20 # shortcut to set variables
21 bind s _ = set %s
22+# TODO use pld wiki? Or at least wikipedia.
23 bind \wiki _ = uri http://wiki.archlinux.org/index.php/Special:Search?search=%s&go=Go
24 bind gg _ = uri http://www.google.com/search?q=%s
25 bind i = toggle_insert_mode
26@@ -67,12 +68,12 @@ bind i = toggle_insert_mode
ec09136d 27 bind I = toggle_insert_mode 0
28 # Enclose the executable in quotes if it has spaces. Any additional parameters you use will
29 # appear AFTER the default parameters
30-bind B = spawn $XDG_DATA_HOME/uzbl/scripts/insert_bookmark.sh
31-bind U = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_history.sh
32-bind u = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_bookmarks.sh
33+bind B = spawn /usr/share/uzbl/scripts/insert_bookmark.sh
34+bind U = spawn /usr/share/uzbl/scripts/load_url_from_history.sh
35+bind u = spawn /usr/share/uzbl/scripts/load_url_from_bookmarks.sh
36 # with the sample yank script, you can yank one of the arguments into clipboard/selection
37-bind yurl = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 6 primary
38-bind ytitle = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 7 clipboard
39+bind yurl = spawn /usr/share/uzbl/scripts/yank.sh 6 primary
40+bind ytitle = spawn /usr/share/uzbl/scripts/yank.sh 7 clipboard
41 # does the same as yurl but without needing a script
42 bind y2url = sh 'echo -n $6 | xclip'
43 # go the page from primary selection
bbb6dd45 44@@ -96,26 +97,26 @@ bind !dump = sh "echo dump_config > $4"
ec09136d 45 bind !reload = sh 'cat $1 > $4'
46
47 # this script allows you to configure (per domain) values to fill in form fields (eg login information) and to fill in these values automatically
48-bind za = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh
49-bind ze = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh edit
50-bind zn = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh new
51-bind zl = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh load
52+bind za = spawn /usr/share/uzbl/scripts/formfiller.sh
53+bind ze = spawn /usr/share/uzbl/scripts/formfiller.sh edit
54+bind zn = spawn /usr/share/uzbl/scripts/formfiller.sh new
55+bind zl = spawn /usr/share/uzbl/scripts/formfiller.sh load
56
57 # other - more advanced - implementation using perl: (could not get this to run - Dieter )
58-bind LL = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl load
59-bind LN = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl new
60-bind LE = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl edit
61+bind LL = spawn /usr/share/uzbl/scripts/formfiller.pl load
62+bind LN = spawn /usr/share/uzbl/scripts/formfiller.pl new
63+bind LE = spawn /usr/share/uzbl/scripts/formfiller.pl edit
64
65 # we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
66 # this is similar to how it works in vimperator (and konqueror)
67 # TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
68 #hit F to toggle the Hints (now in form of link numbering)
69-bind F = script $XDG_DATA_HOME/uzbl/scripts/hint.js
70+bind F = script /usr/share/uzbl/scripts/hint.js
71 # the most stable version:
72-bind fl* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers.js %s
73+bind fl* = script /usr/share/uzbl/scripts/follow_Numbers.js %s
74 # using strings, not polished yet:
75-bind fL* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers_Strings.js %s
76+bind fL* = script /usr/share/uzbl/scripts/follow_Numbers_Strings.js %s
77
ec09136d 78
79 # "home" page if you will
80-set uri = uzbl.org
81+set uri = http://pld-linux.org
This page took 0.060541 seconds and 4 git commands to generate.