awesomerc: remove useless names
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3cf17a9fae
commit
67dc996156
|
@ -92,7 +92,7 @@ end
|
||||||
|
|
||||||
-- {{{ Wibox
|
-- {{{ Wibox
|
||||||
-- Create a textbox widget
|
-- Create a textbox widget
|
||||||
mytextbox = widget({ type = "textbox", name = "mytextbox", align = "right" })
|
mytextbox = widget({ type = "textbox", align = "right" })
|
||||||
-- Set the default text in textbox
|
-- Set the default text in textbox
|
||||||
mytextbox.text = "<b><small> " .. AWESOME_RELEASE .. " </small></b>"
|
mytextbox.text = "<b><small> " .. AWESOME_RELEASE .. " </small></b>"
|
||||||
|
|
||||||
|
@ -109,12 +109,11 @@ mymainmenu = {
|
||||||
{"open terminal", terminal }
|
{"open terminal", terminal }
|
||||||
}
|
}
|
||||||
|
|
||||||
mylauncher = awful.widget.launcher({ name = "mylauncher",
|
mylauncher = awful.widget.launcher({ image = "@AWESOME_ICON_PATH@/awesome16.png",
|
||||||
image = "@AWESOME_ICON_PATH@/awesome16.png",
|
|
||||||
menu = { id="mymainmenu", items=mymainmenu, menu_toggle=true } })
|
menu = { id="mymainmenu", items=mymainmenu, menu_toggle=true } })
|
||||||
|
|
||||||
-- Create a systray
|
-- 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
|
-- Create a wibox for each screen and add it
|
||||||
mywibox = {}
|
mywibox = {}
|
||||||
|
@ -135,10 +134,10 @@ mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() e
|
||||||
|
|
||||||
for s = 1, screen.count() do
|
for s = 1, screen.count() do
|
||||||
-- Create a promptbox for each screen
|
-- 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.
|
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||||
-- We need one layoutbox per screen.
|
-- 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),
|
mylayoutbox[s]:buttons({ button({ }, 1, function () awful.layout.inc(layouts, 1) end),
|
||||||
button({ }, 3, 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),
|
button({ }, 4, function () awful.layout.inc(layouts, 1) end),
|
||||||
|
|
Loading…
Reference in New Issue