.config/awesome/ext.lua
This commit is contained in:
parent
4fab1e25f3
commit
dd7c1d4aa0
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue