aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Tom Adams <tom@holizz.com>2009-07-11 12:11:13 +0100
committerGravatar Tom Adams <tom@holizz.com>2009-07-11 12:11:13 +0100
commit14a53251bbedb94ff0d78321276d5b0de9504f9a (patch)
tree896ef506d1b5d9e03fbfca095f37722dc748059f /examples
parent2e47a381f29a593286374ce8638914383e835993 (diff)
Added new_window handler.
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index a4a5f45..3c2b7bf 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -11,6 +11,10 @@ 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
+# Control how new windows should open
+#set new_window = sh 'uzbl -u $8' # equivalent to the default behaviour
+#set new_window = sh 'echo uri "$8" > $4' # open in same window
+
# You can bind whatever things (spawn <foo>, script <bar>,..) to some events TODO: make events system more generic
set load_start_handler = set status_message = <span foreground="khaki">wait</span>
set load_commit_handler = set status_message = <span foreground="green">recv</span>