All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
Signed-off-by: martin f. krafft <madduck@madduck.net>
tags[s][tagnumber] = tag({ name = tagnumber, layout = layouts[1] })
-- Add tags to screen one by one
-- split at 0.5/50% exactly
tags[s][tagnumber] = tag({ name = tagnumber, layout = layouts[1] })
-- Add tags to screen one by one
-- split at 0.5/50% exactly
- tags[s][tagnumber].mwfact = 0.5
+ -- tags[s][tagnumber].mwfact = 0.5
tags[s][tagnumber].screen = s
end
-- I'm sure you want to see at least one tag.
tags[s][tagnumber].screen = s
end
-- I'm sure you want to see at least one tag.
mystatusbar[s] = statusbar({ position = "top", name = "mystatusbar" .. s,
fg = beautiful.fg_normal, bg = beautiful.bg_normal })
-- Add widgets to the statusbar - order matters
mystatusbar[s] = statusbar({ position = "top", name = "mystatusbar" .. s,
fg = beautiful.fg_normal, bg = beautiful.bg_normal })
-- Add widgets to the statusbar - order matters
- mystatusbar[s].widgets =
- {
+ mystatusbar[s]:widgets({
mytaglist,
mytasklist,
mypromptbox,
mytextbox,
mylayoutbox[s],
s == screen.count() and mysystray or nil
mytaglist,
mytasklist,
mypromptbox,
mytextbox,
mylayoutbox[s],
s == screen.count() and mysystray or nil
mystatusbar[s].screen = s
end
-- }}}
mystatusbar[s].screen = s
end
-- }}}
keybinding({ modkey }, "o", awful.client.movetoscreen):add()
keybinding({ modkey }, "Tab", awful.client.focus.history.previous):add()
keybinding({ modkey }, "u", awful.client.urgent.jumpto):add()
keybinding({ modkey }, "o", awful.client.movetoscreen):add()
keybinding({ modkey }, "Tab", awful.client.focus.history.previous):add()
keybinding({ modkey }, "u", awful.client.urgent.jumpto):add()
+keybinding({ modkey, "Shift" }, "r", function () client.focus:redraw() end):add()
-- Layout manipulation
keybinding({ modkey }, "l", function () awful.tag.incmwfact(0.05) end):add()
-- Layout manipulation
keybinding({ modkey }, "l", function () awful.tag.incmwfact(0.05) end):add()
--[[
local sel = client.focus
if sel then
--[[
local sel = client.focus
if sel then
- local c_c = sel.coords
- local m_c = mouse.coords
+ local c_c = sel:coords()
+ local m_c = mouse.coords()
if m_c.x < c_c.x or m_c.x >= c_c.x + c_c.width or
m_c.y < c_c.y or m_c.y >= c_c.y + c_c.height then
if table.maxn(m_c.buttons) == 0 then
if m_c.x < c_c.x or m_c.x >= c_c.x + c_c.width or
m_c.y < c_c.y or m_c.y >= c_c.y + c_c.height then
if table.maxn(m_c.buttons) == 0 then
- mouse.coords = { x = c_c.x + 5, y = c_c.y + 5}
+ mouse.coords({ x = c_c.x + 5, y = c_c.y + 5})