[awesomerc] fix tabulous new tabbed view binding
This commit is contained in:
parent
70a9a676ed
commit
0bd9e548ad
|
@ -182,12 +182,20 @@ keybinding.new({ modkey }, "F1", function () awful.menu("Run: ", mymenubox, awfu
|
|||
--- Tabulous, tab manipulation
|
||||
keybinding.new({ modkey, "Control" }, "y", function ()
|
||||
local tabbedview = tabulous.tabindex_get()
|
||||
local nextclient = awful.client.next(1)
|
||||
|
||||
if tabbedview == nil then
|
||||
tabbedview = tabulous.tabindex_get(nextclient)
|
||||
|
||||
if tabbedview == nil then
|
||||
tabbedview = tabulous.tab_create()
|
||||
tabulous.tab(tabbedview, nextclient)
|
||||
else
|
||||
tabulous.tab(tabbedview, client.focus_get())
|
||||
end
|
||||
else
|
||||
tabulous.tab(tabbedview, nextclient)
|
||||
end
|
||||
|
||||
tabulous.tab(tabbedview, awful.client.next(1))
|
||||
end):add()
|
||||
|
||||
keybinding.new({ modkey, "Shift" }, "y", tabulous.untab):add()
|
||||
|
|
Loading…
Reference in New Issue