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()
|
||||
keybinding({ modkey, "Shift" }, i,
|
||||
function ()
|
||||
if client.focus then
|
||||
if tags[client.focus.screen][i] then
|
||||
awful.client.movetotag(tags[client.focus.screen][i])
|
||||
end
|
||||
if client.focus and tags[client.focus.screen][i] then
|
||||
awful.client.movetotag(tags[client.focus.screen][i])
|
||||
end
|
||||
end):add()
|
||||
keybinding({ modkey, "Control", "Shift" }, i,
|
||||
function ()
|
||||
if client.focus then
|
||||
if tags[client.focus.screen][i] then
|
||||
awful.client.toggletag(tags[client.focus.screen][i])
|
||||
end
|
||||
if client.focus and tags[client.focus.screen][i] then
|
||||
awful.client.toggletag(tags[client.focus.screen][i])
|
||||
end
|
||||
end):add()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue