You are not logged in.

#1 2006-07-09 07:41:22

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

ob3pipe

Hi,

Knocked up a small python class that makes pipe menus in Openbox a little easier to write

Ob3pipe.py

to create a pipe-menu in a python script

#!/usr/bin/env python

import ob3pipe

x=ob3pipe.Pipes()

print x.start()

print x.item("Label")

print x.execute("Open a terminal", "xterm") 

print x.separator()

print x.end()

Let us know what you think  wink

thanks to Penguin for giving me the strength to carry on 8)


Mr Green

Offline

Board footer

Powered by FluxBB