alright, I attached you a stub module called "desktop" which will let you add clickable "textual icons" on your screens. usage:
require("desktop")
desktop.add_icon({screen = screen_number, label = "Firefox", click =
function() awful.util.spawn("firefox") end})
desktop.add_icon({screen = screen_number, label = "Thunderbird", click
= function() awful.util.spawn("thunderbird") end})
icons will be placed starting from the top right corner of the screen.
it would be great if some of you could improve it:
- transparent wiboxes
- real icons, with images
- .desktop file parsing
- centered align for label text
- more costumization
thanks for your help!
ps. is there a simpler way to know which method/properties you can
call to c objects like screen, client, etc than guessing from their .c
and .h files?
Stefano Verna
web: http://www.stefanoverna.com
gtalk: [email protected]
skype: steffoz
On Fri, Feb 13, 2009 at 12:07 PM, Julien Danjou <[email protected]> wrote:
> At 1234522908 time_t, Stefano wrote:
>> that's interesting, but how can i tell a wibox to be placed on background?
>
> They are by default, unless you set .ontop = true.
>
> Cheers,
desktop.lua
Description: Binary data
