awesomerc: logo is now a launcher

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-03 21:12:20 +02:00
parent 4ac6d4568b
commit 6b901356e2
1 changed files with 5 additions and 3 deletions

View File

@ -119,8 +119,10 @@ mytextbox = widget({ type = "textbox", name = "mytextbox", align = "right" })
mytextbox.text = "<b><small> awesome " .. AWESOME_VERSION .. " </small></b>" mytextbox.text = "<b><small> awesome " .. AWESOME_VERSION .. " </small></b>"
mypromptbox = widget({ type = "textbox", name = "mypromptbox", align = "left" }) mypromptbox = widget({ type = "textbox", name = "mypromptbox", align = "left" })
-- Create an iconbox widget -- Create a laucher widget
myiconbox = awful.widget.button({ name = "myiconbox", image = "@AWESOME_ICON_PATH@/awesome16.png" }) mylauncher = awful.widget.launcher({ name = "mylauncher",
image = "@AWESOME_ICON_PATH@/awesome16.png",
command = terminal .. " -e man awesome"})
-- Create a systray -- Create a systray
mysystray = widget({ type = "systray", name = "mysystray", align = "right" }) mysystray = widget({ type = "systray", name = "mysystray", align = "right" })
@ -148,7 +150,7 @@ for s = 1, screen.count() do
mystatusbar[s]:widgets({ mystatusbar[s]:widgets({
mytaglist, mytaglist,
mytasklist, mytasklist,
myiconbox, mylauncher,
mypromptbox, mypromptbox,
mytextbox, mytextbox,
mylayoutbox[s], mylayoutbox[s],