awesomerc: simplify some bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
e46ae9e3c2
commit
fd0e1022bb
|
@ -195,18 +195,14 @@ for i = 1, keynumber do
|
||||||
end):add()
|
end):add()
|
||||||
keybinding({ modkey, "Shift" }, i,
|
keybinding({ modkey, "Shift" }, i,
|
||||||
function ()
|
function ()
|
||||||
if client.focus then
|
if client.focus and tags[client.focus.screen][i] then
|
||||||
if tags[client.focus.screen][i] then
|
awful.client.movetotag(tags[client.focus.screen][i])
|
||||||
awful.client.movetotag(tags[client.focus.screen][i])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end):add()
|
end):add()
|
||||||
keybinding({ modkey, "Control", "Shift" }, i,
|
keybinding({ modkey, "Control", "Shift" }, i,
|
||||||
function ()
|
function ()
|
||||||
if client.focus then
|
if client.focus and tags[client.focus.screen][i] then
|
||||||
if tags[client.focus.screen][i] then
|
awful.client.toggletag(tags[client.focus.screen][i])
|
||||||
awful.client.toggletag(tags[client.focus.screen][i])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end):add()
|
end):add()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue