aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Rob <rob.manea@gmail.com>2009-11-30 17:48:03 +0100
committerGravatar Rob <rob.manea@gmail.com>2009-11-30 17:48:03 +0100
commit6c25bcb44b4f273b892a4c4bcc4ecb27d1a93d9b (patch)
tree26b8530a7364d3445f4e2bbf45c48f4ff04e364a /examples/config
parent03b9e4bcea04790d0ddadf671b41484ff6a3e90c (diff)
added scroll-percentage.js and config example
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/uzbl/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 35a051b..2f3218a 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -45,6 +45,7 @@ set new_window = sh 'uzbl-browser -u $8' # equivalent to the default beh
# Load commit handler
@on_event LOAD_COMMIT @set_status <span foreground="green">recv</span>
+@on_event LOAD_COMMIT script @scripts_dir/scroll-percentage.js
# Load finish handlers
@on_event LOAD_FINISH @set_status <span foreground="gold">done</span>
@@ -79,12 +80,13 @@ set hint_style = weight="bold"
set mode_section = <span background="khaki" foreground="black">[\@[\@mode_indicator]\@]</span>
set keycmd_section = [<span \@prompt_style>\@[\@keycmd_prompt]\@</span><span \@modcmd_style>\@modcmd</span><span \@keycmd_style>\@keycmd</span><span \@completion_style>\@completion_list</span>]
set progress_section = <span foreground="#606060">\@[\@progress_format]\@</span>
+set scroll_section = <span foreground="#606060">\@[[\@scroll_message]]\@</span>
set uri_section = <span foreground="#99FF66">\@[\@uri]\@</span>
set name_section = <span foreground="khaki">\@[\@NAME]\@</span>
set status_section = <span foreground="orange">\@status_message</span>
set selected_section = <span foreground="#606060">\@[\@SELECTED_URI]\@</span>
-set status_format = <span font_family="monospace">@mode_section @keycmd_section @progress_section @uri_section @name_section @status_section @selected_section</span>
+set status_format = <span font_family="monospace">@mode_section @keycmd_section @progress_section @scroll_section @uri_section @name_section @status_section @selected_section</span>
# Progress bar config
@progress width = 8