Re: Create widget with awesome-client

2011-09-11 Thread Jörg Thalheim
Actually no. What is your output of: cat /proc/diskstats 2011/9/10 Daniel Martí danielmarti.deb...@gmail.com: sda read_mb doesn't work. I must use vicious.register(iowidget, vicious.widgets.dio, ${read_mb}, 2, sda). Is this normal? Jörg Thalheim jthalh...@gmail.com wrote: You have not to

Re: Create widget with awesome-client

2011-09-10 Thread Daniel Martí
sda read_mb doesn't work. I must use vicious.register(iowidget, vicious.widgets.dio, ${read_mb}, 2, sda). Is this normal? Jörg Thalheim jthalh...@gmail.com wrote: You have not to rewrite it. I already did this in the past, to display more than one partition in a widget:

Re: Create widget with awesome-client

2011-09-08 Thread Daniel Martí
I hadn't thought about re-writing dio. I'll try it on my own first, and if I need any assistance I'll come back. Thanks! Jörg Thalheim jthalh...@gmail.com wrote: My first rewrite of dio included the feature, to sum up the disk i/o of every avaible disk to total numbers. Is this what you want?

Re: Create widget with awesome-client

2011-09-08 Thread Jörg Thalheim
You have not to rewrite it. I already did this in the past, to display more than one partition in a widget: http://git.sysphere.org/vicious/commit/?id=c2f7fbcf2358cf83b103954ec0dc579aea39e3cb I advice you to use a format function as described in the README iowidget = widget({ type = textbox

Create widget with awesome-client

2011-09-06 Thread Daniel Martí
Hey guys! I'm very happy with the vicious scripts, especially the dio one (disk input/output). I configured the udev rules to automount usb devices and show up a notification via naughty, and it works. Now, i'd like the same script (that uses awesome-client and naughty, called by udevd) to