aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-05-29 23:38:13 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-05-29 23:38:13 +0200
commitdecba45cb93620548384b8bf681361d4c1bb9550 (patch)
tree16f413b797c8f884f0442f20c26feea68c5b95f8 /examples
parent68f356bbc256a1001d514adc1e9cb26b0e6102d0 (diff)
parente80ef2dc33edb53bf6a1e36b9c1db8a64dfb025c (diff)
Merge commit 'duc/experimental' into experimental
Diffstat (limited to 'examples')
-rw-r--r--examples/configs/sampleconfig12
-rw-r--r--examples/configs/sampleconfig-dev13
2 files changed, 12 insertions, 13 deletions
diff --git a/examples/configs/sampleconfig b/examples/configs/sampleconfig
index 06f3f13..42edf75 100644
--- a/examples/configs/sampleconfig
+++ b/examples/configs/sampleconfig
@@ -2,13 +2,13 @@
# example uzbl config. in a real config, we should obey the xdg spec
# all settings are optional. you can use uzbl without any config at all (but it won't do much)
-# keyboard behavior is vimstyle by default (all actions -> 1 key). set
+# keyboard behavior is vimstyle by default (all commands -> 1 key). set
# always_insert_mode to always be in insert mode and disable going out of it.
-# if you do this, make sure you've set a modkey so you can reach the actions
+# if you do this, make sure you've set a modkey so you can reach the commands
# from insert mode by combining them with the modkey
# TODO: ability to attach misc things (spawn <foo>, script <bar>,.. to internal events)
-# You can use any action in place of spawn
+# You can use any command in place of spawn
set history_handler = spawn /usr/share/uzbl/examples/scripts/history.sh
set download_handler = spawn /usr/share/uzbl/examples/scripts/download.sh
set cookie_handler = spawn /usr/share/uzbl/examples/scripts/cookies.sh
@@ -94,9 +94,9 @@ bind ytitle = spawn /usr/share/uzbl/examples/scripts/yank.sh 9 clipboard
# does the same as yurl but without needing a script
bind y2url = sh "echo -n $6 | xclip"
# go the page from primary selection
-bind p = sh "echo act uri `xclip -selection primary -o` > $4"
+bind p = sh "echo uri `xclip -selection primary -o` > $4"
# go to the page in clipboard
-bind P = sh "echo act uri `xclip -selection clipboard -o` > $4"
+bind P = sh "echo uri `xclip -selection clipboard -o` > $4"
bind ZZ = exit
bind S = js alert("hi");
# example showing how to use sh
@@ -104,7 +104,7 @@ bind S = js alert("hi");
# if fifo_dir is not set, it'll echo to a file named (null) somewhere >:) remember to delete it
# Parameters are separated by spaces and the script body must be one parameter, so enclose it in
# quotes and escape any inner quotes using backslashes
-bind XS = sh 'echo "act script alert (\'This is sent by the shell via a fifo\')" > "$4"'
+bind XS = sh 'echo "js alert (\'This is sent by the shell via a fifo\')" > "$4"'
# we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev
index 0dcc0d2..3e2920f 100644
--- a/examples/configs/sampleconfig-dev
+++ b/examples/configs/sampleconfig-dev
@@ -2,13 +2,13 @@
# example uzbl config. in a real config, we should obey the xdg spec
# all settings are optional. you can use uzbl without any config at all (but it won't do much)
-# keyboard behavior is vimstyle by default (all actions -> 1 key). set
+# keyboard behavior is vimstyle by default (all commands -> 1 key). set
# always_insert_mode to always be in insert mode and disable going out of it.
-# if you do this, make sure you've set a modkey so you can reach the actions
+# if you do this, make sure you've set a modkey so you can reach the commands
# from insert mode by combining them with the modkey
# 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 action (such as sh) can be used
+# Usually you want to spawn a script to handle things, but any command (such as sh) can be used
set history_handler = spawn ./examples/scripts/history.sh
set download_handler = spawn ./examples/scripts/download.sh
set cookie_handler = spawn ./examples/scripts/cookies.sh
@@ -131,9 +131,9 @@ bind ytitle = spawn ./examples/scripts/yank.sh 9 clipboard
# does the same as yurl but without needing a script
bind y2url = sh 'echo -n $6 | xclip'
# go the page from primary selection
-bind p = sh "echo act uri `xclip -selection primary -o` > $4"
+bind p = sh "echo uri `xclip -selection primary -o` > $4"
# go to the page in clipboard
-bind P = sh "echo act uri `xclip -selection clipboard -o` > $4"
+bind P = sh "echo uri `xclip -selection clipboard -o` > $4"
bind ZZ = exit
bind S = js alert("hi");
# example showing how to use sh
@@ -143,8 +143,7 @@ bind S = js alert("hi");
# 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.)
-bind XS = sh 'echo "act script alert (\\"This is sent by the shell via a fifo\\")" > "$4"'
-
+bind XS = sh 'echo "js alert (\\"This is sent by the shell via a fifo\\")" > "$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 ./examples/scripts/formfiller.sh