tab manager for uzbl written in c++. no longer maintained

http://github.com/jakeprobst/uzblstuff

example bindings (what I use)

@bind   tn   = sh 'echo "new" > /tmp/uzbltab'
@bind   tp   = sh 'echo "new `xclip -selection clipboard -o`" > /tmp/uzbltab'
@bind   tx   = sh 'echo "close" > /tmp/uzbltab'
@bind   >    = sh 'echo "next" > /tmp/uzbltab'
@bind   <    = sh 'echo "prev" > /tmp/uzbltab'
@bind   tg _ = sh 'echo "new %s" > /tmp/uzbltab'
@bind   t _  = sh 'echo "goto %s" > /tmp/uzbltab'
@bind   tf   = sh 'echo "first" > /tmp/uzbltab'
@bind   tl   = sh 'echo "last" > /tmp/uzbltab'
set new_window      = sh 'echo "new $8" > /tmp/uzbltab'

default event manager plugin:

def tabs(uzbl, keylet):
    f = file("/tmp/uzbltab", "wb")
    str = ("tabtitle %s %s \n" % (uzbl.uzbl_socket,keylet)).encode('utf8')
    f.write(str)
    f.close()
 
def turi(uzbl, keylet):
    f = file("/tmp/uzbltab", "wb")
    str = ("taburi %s %s \n" % (uzbl.uzbl_socket,keylet)).encode('utf8')
    f.write(str)
    f.close()
 
def init(uzbl):
    connects = {"TITLE_CHANGED": tabs,
                "LOAD_COMMIT": turi}
 
    uzbl.connect_dict(connects)
uzbltab.txt · Last modified: 2012/07/24 00:57 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki