.config/awesome/ext.lua

This commit is contained in:
Tom Willemsen 2012-10-07 22:14:13 +02:00
parent 4fab1e25f3
commit dd7c1d4aa0

View file

@ -65,3 +65,17 @@ function run_or_raise(cmd, properties)
end
awful.util.spawn(cmd)
end
function prev_client()
awful.client.focus.history.previous()
if client.focus then
client.focus:raise()
end
end
function next_client()
awful.client.focus.byidx(1)
if client.focus then
client.focus:raise()
end
end