From 67dc996156f00a74aebb168fb48083eb0690600c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 6 Nov 2008 14:04:01 +0100 Subject: [PATCH] awesomerc: remove useless names Signed-off-by: Julien Danjou --- awesomerc.lua.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index b5f927d0..347fb194 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -92,7 +92,7 @@ end -- {{{ Wibox -- Create a textbox widget -mytextbox = widget({ type = "textbox", name = "mytextbox", align = "right" }) +mytextbox = widget({ type = "textbox", align = "right" }) -- Set the default text in textbox mytextbox.text = " " .. AWESOME_RELEASE .. " " @@ -109,12 +109,11 @@ mymainmenu = { {"open terminal", terminal } } -mylauncher = awful.widget.launcher({ name = "mylauncher", - image = "@AWESOME_ICON_PATH@/awesome16.png", +mylauncher = awful.widget.launcher({ image = "@AWESOME_ICON_PATH@/awesome16.png", menu = { id="mymainmenu", items=mymainmenu, menu_toggle=true } }) -- Create a systray -mysystray = widget({ type = "systray", name = "mysystray", align = "right" }) +mysystray = widget({ type = "systray", align = "right" }) -- Create a wibox for each screen and add it mywibox = {} @@ -135,10 +134,10 @@ mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() e for s = 1, screen.count() do -- Create a promptbox for each screen - mypromptbox[s] = widget({ type = "textbox", name = "mypromptbox" .. s, align = "left" }) + mypromptbox[s] = widget({ type = "textbox", align = "left" }) -- Create an imagebox widget which will contains an icon indicating which layout we're using. -- We need one layoutbox per screen. - mylayoutbox[s] = widget({ type = "imagebox", name = "mylayoutbox", align = "right" }) + mylayoutbox[s] = widget({ type = "imagebox", align = "right" }) mylayoutbox[s]:buttons({ button({ }, 1, function () awful.layout.inc(layouts, 1) end), button({ }, 3, function () awful.layout.inc(layouts, -1) end), button({ }, 4, function () awful.layout.inc(layouts, 1) end),