From 6b901356e29a9a1d005e4aeb306f079186fad0f0 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 3 Sep 2008 21:12:20 +0200 Subject: [PATCH] awesomerc: logo is now a launcher Signed-off-by: Julien Danjou --- awesomerc.lua.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 496142ce..921b8830 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -119,8 +119,10 @@ mytextbox = widget({ type = "textbox", name = "mytextbox", align = "right" }) mytextbox.text = " awesome " .. AWESOME_VERSION .. " " mypromptbox = widget({ type = "textbox", name = "mypromptbox", align = "left" }) --- Create an iconbox widget -myiconbox = awful.widget.button({ name = "myiconbox", image = "@AWESOME_ICON_PATH@/awesome16.png" }) +-- Create a laucher widget +mylauncher = awful.widget.launcher({ name = "mylauncher", + image = "@AWESOME_ICON_PATH@/awesome16.png", + command = terminal .. " -e man awesome"}) -- Create a systray mysystray = widget({ type = "systray", name = "mysystray", align = "right" }) @@ -148,7 +150,7 @@ for s = 1, screen.count() do mystatusbar[s]:widgets({ mytaglist, mytasklist, - myiconbox, + mylauncher, mypromptbox, mytextbox, mylayoutbox[s],