Helló,
Én sem vagyok programozó, de remélem hasznos lesz:
Client menu a tasklisten:
(jobb egérgomb a tasklist-en)
mytasklist.buttons = awful.util.table.join(
awful.button({}, 3, function (c)
if instance then
instance:hide()
instance = nil
else
if c_client ~= c then
c_client = c
end
instance = awful.menu.clients({ width=250 })
end)
)
Az átméretezés:
clientbuttons = awful.util.table.join(
awful.button({Mod_Key, "Shift"}, 1, awful.mouse.client.move),
awful.button({Mod_Key, "Shift"}, 3, awful.mouse.client.resize)
)
-- Figyelni kell a sorvégi vesszőkre.
-- awful.button({}, 1, function (c) .... end),
-- ...
-- awful.button({}, 3, function (c) .... end)
--Szerintem az utolsóknál nem kell a többinél viszont igen.