diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | docs/FAQ | 2 | ||||
-rw-r--r-- | docs/INSTALL | 2 | ||||
-rw-r--r-- | docs/TODO | 4 | ||||
-rwxr-xr-x | examples/data/uzbl/scripts/uzbl_tabbed.py | 73 |
5 files changed, 54 insertions, 28 deletions
@@ -33,6 +33,7 @@ Contributors: (dequis) - Uzbl.run, birectional socket, javascript commands Brendan Taylor (bct) - various bugfixes Chris van Dijk (quigybo) - work on uzbl_tabbed.py + Moritz Lenz - small doc fix Originaly based on http://trac.webkit.org/browser/trunk/WebKitTools/GtkLauncher/main.c Which is copyrighted: @@ -35,7 +35,7 @@ be handled outside of uzbl by a separate/different program. Here are some solut * Many window managers can (and should) handle this by default. Xmonads tabbed layout, Wmii's stacked layout and so on. * Uzbl supports acting as a GtkPlug to plug into GtkSockets (Xembed) so you can embed uzbl instances in other Gtk applications. - This allows several implementatinos, a popular one is [uzbl_tabbed.py](http://www.uzbl.org/wiki/uzbl_tabbed) (TODO: include with sample scripts) + This allows several implementatinos, a popular one is [uzbl_tabbed.py](http://www.uzbl.org/wiki/uzbl_tabbed) * If you want highest customizablity, you need the 3rd option: You can also write a custom script. The only thing you need to do is focus/maximize the instance you want, keep the others out of sight and use tools like dmenu and wmctrl to switch instances. diff --git a/docs/INSTALL b/docs/INSTALL index 43e139c..be6e85b 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -13,7 +13,7 @@ From source You can pull the code from git or get a tagged tarball. $ git clone git://github.com/Dieterbe/uzbl.git - [ $ git checkout master/experimental ] # optional. see below + [ $ git checkout origin/experimental ] # optional. see below $ cd uzbl $ make $ sudo make install @@ -12,7 +12,7 @@ More or less in order of importance/urgency * scrolling: make page up and page down configurable. * show % of location in statusbar/title if page doesn't fit entirely on view. * conditionals in format strings: eg if(SELECTED_URI) { "-> SELECTED_URI" } or another smart way to achieve the same. -* make default window size configurable, and optional +* make default window size configurable, and optional if this is not too much work * on uzbl.org commits overview: add date+time and repository * how to handle different content types? (text-plain, image/png, application/pdf,... maybe a map of content-type to uzbl/command xdg already has a spec for this i think @@ -40,7 +40,6 @@ More or less in order of importance/urgency * check for real command name, not just the first letter. * let users attach handlers to the most common events/signals in uzbl. great use case: automatically calling formfiller for certain sites -* write little script to open new urls with the urxvt url thing +document. * document: stylesheet overridding formfiller @@ -62,4 +61,3 @@ figure out how webkit intercepts key input make "disable insert mode" (esc key) configurable keywords don't work for external commands. is this a problem? * pass a bit less arguments by default, use the socket to query for them instead, or export the stuff through environment variables, or export them as xorg window properties -* write a config "generator" that iterates over the Uzbl uzbl and generates the commands needed to become in that state.
\ No newline at end of file diff --git a/examples/data/uzbl/scripts/uzbl_tabbed.py b/examples/data/uzbl/scripts/uzbl_tabbed.py index 93592da..6ed902d 100755 --- a/examples/data/uzbl/scripts/uzbl_tabbed.py +++ b/examples/data/uzbl/scripts/uzbl_tabbed.py @@ -42,34 +42,60 @@ # Here is a list of configuration options that can be customised and some # example values for each: # -# set show_tablist = 1 -# set show_gtk_tabs = 0 -# set switch_to_new_tabs = 1 -# set save_session = 1 -# set gtk_tab_pos = (left|bottom|top|right) -# set max_title_len = 50 -# set new_tab_title = New tab -# set status_background = #303030 -# set session_file = $HOME/.local/share/session -# set tab_colours = foreground = "#999" -# set tab_text_colours = foreground = "#444" -# set selected_tab = foreground = "#aaa" background="#303030" -# set selected_tab_text = foreground = "green" -# set window_size = 800,800 +# General tabbing options: +# show_tablist = 1 +# show_gtk_tabs = 0 +# tablist_top = 1 +# gtk_tab_pos = (top|left|bottom|right) +# switch_to_new_tabs = 1 +# +# Tab title options: +# tab_titles = 1 +# new_tab_title = Loading +# max_title_len = 50 +# show_ellipsis = 1 # -# And the keybindings: +# Core options: +# save_session = 1 +# fifo_dir = /tmp +# socket_dir = /tmp +# icon_path = $HOME/.local/share/uzbl/uzbl.png +# session_file = $HOME/.local/share/uzbl/session # -# set bind_new_tab = gn -# set bind_tab_from_clip = gY -# set bind_close_tab = gC -# set bind_next_tab = gt -# set bind_prev_tab = gT -# set bind_goto_tab = gi_ -# set bind_goto_first = g< -# set bind_goto_last = g> +# Window options: +# status_background = #303030 +# window_size = 800,800 +# +# And the key bindings: +# bind_new_tab = gn +# bind_tab_from_clip = gY +# bind_tab_from_uri = go _ +# bind_close_tab = gC +# bind_next_tab = gt +# bind_prev_tab = gT +# bind_goto_tab = gi_ +# bind_goto_first = g< +# bind_goto_last = g> # # And uzbl_tabbed.py takes care of the actual binding of the commands via each # instances fifo socket. +# +# Custom tab styling: +# tab_colours = foreground = "#888" background = "#303030" +# tab_text_colours = foreground = "#bbb" +# selected_tab = foreground = "#fff" +# selected_tab_text = foreground = "green" +# tab_indicate_https = 1 +# https_colours = foreground = "#888" +# https_text_colours = foreground = "#9c8e2d" +# selected_https = foreground = "#fff" +# selected_https_text = foreground = "gold" +# +# How these styling values are used are soley defined by the syling policy +# handler below (the function in the config section). So you can for example +# turn the tab text colour Firetruck-Red in the event "error" appears in the +# tab title or some other arbitrary event. You may wish to make a trusted +# hosts file and turn tab titles of tabs visiting trusted hosts purple. # Issues: @@ -92,6 +118,7 @@ # - check spelling. # - pass a uzbl socketid to uzbl_tabbed.py and have it assimilated into # the collective. Resistance is futile! +# - on demand store the session to file (need binding & command for that) import pygtk |