aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-07 22:50:57 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-07 22:50:57 +0200
commit264c01baa1cf9287cf44dd28e9de7c1716d5141e (patch)
tree739f6ab4cd513f657fb7137d46f35acb2b5f4fd6 /examples
parent19489f84dbf0316222e27216c622929492d6fe4d (diff)
fixes to make the dir refactoring work
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config (renamed from examples/config/uzbl/sampleconfig)36
1 files changed, 18 insertions, 18 deletions
diff --git a/examples/config/uzbl/sampleconfig b/examples/config/uzbl/config
index 53c4086..bbe3a75 100644
--- a/examples/config/uzbl/sampleconfig
+++ b/examples/config/uzbl/config
@@ -9,9 +9,9 @@
# TODO: ability to attach misc things (spawn <foo>, script <bar>,.. to internal events)
# Usually you want to spawn a script to handle things, but any command (such as sh) can be used
-set history_handler = spawn $XDG_DATA_HOME/scripts/history.sh
-set download_handler = spawn $XDG_DATA_HOME/scripts/download.sh
-set cookie_handler = spawn $XDG_DATA_HOME/scripts/cookies.py
+set history_handler = spawn $XDG_DATA_HOME/uzbl/scripts/history.sh
+set download_handler = spawn $XDG_DATA_HOME/uzbl/scripts/download.sh
+set cookie_handler = spawn $XDG_DATA_HOME/uzbl/scripts/cookies.py
set minimum_font_size = 6
set font_size = 11
@@ -124,12 +124,12 @@ bind i = toggle_insert_mode
bind I = toggle_insert_mode 0
# Enclose the executable in quotes if it has spaces. Any additional parameters you use will
# appear AFTER the default parameters
-bind B = spawn $XDG_DATA_HOME/scripts/insert_bookmark.sh
-bind U = spawn $XDG_DATA_HOME/scripts/load_url_from_history.sh
-bind u = spawn $XDG_DATA_HOME/scripts/load_url_from_bookmarks.sh
+bind B = spawn $XDG_DATA_HOME/uzbl/scripts/insert_bookmark.sh
+bind U = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_history.sh
+bind u = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_bookmarks.sh
# with the sample yank script, you can yank one of the arguments into clipboard/selection
-bind yurl = spawn $XDG_DATA_HOME/scripts/yank.sh 6 primary
-bind ytitle = spawn $XDG_DATA_HOME/scripts/yank.sh 7 clipboard
+bind yurl = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 6 primary
+bind ytitle = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 7 clipboard
# does the same as yurl but without needing a script
bind y2url = sh 'echo -n $6 | xclip'
# go the page from primary selection
@@ -148,25 +148,25 @@ bind S = js alert("hi");
bind XS = sh 'echo "js alert (\\"This is sent by the shell via a fifo\\")" > "$4"'
bind dump = sh "echo dump_config > $4"
# this script allows you to configure (per domain) values to fill in form fields (eg login information) and to fill in these values automatically
-bind za = spawn $XDG_DATA_HOME/scripts/formfiller.sh
-bind ze = spawn $XDG_DATA_HOME/scripts/formfiller.sh edit
-bind zn = spawn $XDG_DATA_HOME/scripts/formfiller.sh new
-bind zl = spawn $XDG_DATA_HOME/scripts/formfiller.sh load
+bind za = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh
+bind ze = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh edit
+bind zn = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh new
+bind zl = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh load
# other - more advanced - implementation using perl: (could not get this to run - Dieter )
-bind LL = spawn $XDG_DATA_HOME/scripts/formfiller.pl load
-bind LN = spawn $XDG_DATA_HOME/scripts/formfiller.pl new
-bind LE = spawn $XDG_DATA_HOME/scripts/formfiller.pl edit
+bind LL = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl load
+bind LN = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl new
+bind LE = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl edit
# we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
# this is similar to how it works in vimperator (and konqueror)
# TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
#hit F to toggle the Hints (now in form of link numbering)
-bind F = script $XDG_DATA_HOME/scripts/hint.js
+bind F = script $XDG_DATA_HOME/uzbl/scripts/hint.js
# the most stable version:
-bind fl* = script $XDG_DATA_HOME/scripts/follow_Numbers.js %s
+bind fl* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers.js %s
# using strings, not polished yet:
-bind fL* = script $XDG_DATA_HOME/scripts/follow_Numbers_Strings.js %s
+bind fL* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers_Strings.js %s
# you can use this to disable all plugins
set disable_plugins = 0