diff options
author | Tom Willemsen | 2012-10-07 22:14:13 +0200 |
---|---|---|
committer | Tom Willemsen | 2012-10-07 22:14:13 +0200 |
commit | dd7c1d4aa0869dcbe9b2e81e708afb2264e0ebfb (patch) | |
tree | 87b19f93afcc16fa49f3c69ea627cf0ca3bda08a /.config | |
parent | 4fab1e25f3e96ef815f9fda2d9685720e632ad82 (diff) | |
download | dotfiles-dd7c1d4aa0869dcbe9b2e81e708afb2264e0ebfb.tar.gz dotfiles-dd7c1d4aa0869dcbe9b2e81e708afb2264e0ebfb.zip |
.config/awesome/ext.lua
Diffstat (limited to '.config')
-rw-r--r-- | .config/awesome/ext.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/awesome/ext.lua b/.config/awesome/ext.lua index d564867..e7bdf00 100644 --- a/.config/awesome/ext.lua +++ b/.config/awesome/ext.lua @@ -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 |