aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-01 09:29:34 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-01 09:29:34 +0800
commit3a73a42aae448240211d6d96349f1afb7e4e4996 (patch)
tree66c5bdd782aef53c6237607e0627a9f64342e7e1 /examples
parent3733d86d0d28e072697a17a43eff360dcdac8038 (diff)
Add 'uzbl terminal' binding & remove old example lines.
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config14
1 files changed, 3 insertions, 11 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 072c045..9d0f710 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -245,6 +245,9 @@ set open_new_window = sh 'uzbl-browser -u \@SELECTED_URI'
@cbind !dump = sh "echo dump_config > $4"
# Reload config
@cbind !reload = sh "sed '/^# === Post-load misc commands/,$d' $1 > $4"
+# Uzbl Terminal
+@cbind <Ctrl><Alt>t = sh 'xterm -e "socat unix-connect:$5 -"'
+#@cbind <Ctrl><Alt>t = sh 'urxvt -e socat unix-connect:$5 -'
# --- Uri opening prompts ---
@cbind o<uri:>_ = uri %s
@@ -287,17 +290,6 @@ set toggle_cmd_ins = @toggle_modes command insert
# Or number with strings instead of numbers:
@cbind fL* = script @scripts_dir/follow_Numbers_Strings.js %s
-
-@cbind Xs = js alert("hi");
-# example showing how to use sh
-# it sends a command to the fifo, whose path is told via a positional param
-# if fifo_dir is not set, it'll echo to a file named (null) somewhere >:) remember to delete it
-# The body of the shell command should be one parameter, so if it has spaces like here,
-# you must enclose it in quotes. Remember to escape (and double-escape) quotes and backslashes
-# in the body. Any additional parameters you use will appear AFTER the default parameters (cfg file
-# path, fifo & socket dirs, etc.)
-@cbind XS = sh 'echo "js alert (\\"This is sent by the shell via a fifo\\")" > "$4"'
-
# --- Form filler binds ---
# this script allows you to configure (per domain) values to fill in form
# fields (eg login information) and to fill in these values automatically