diff options
author | Tom Willemsen | 2012-09-12 23:27:44 +0200 |
---|---|---|
committer | Tom Willemsen | 2012-09-12 23:27:44 +0200 |
commit | af2ad2ac32bdac686dfa149965381f3db966281c (patch) | |
tree | ad223d5313a6610b09219f174beebf9b9c600524 /.config/awesome | |
parent | f7f8460b8334a8c3c820e6e6095471b2b723f22b (diff) | |
download | dotfiles-af2ad2ac32bdac686dfa149965381f3db966281c.tar.gz dotfiles-af2ad2ac32bdac686dfa149965381f3db966281c.zip |
.config/awesome/rc.lua
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/rc.lua | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d61195d..b89934a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -196,33 +196,6 @@ root.buttons(awful.util.table.join( )) -- }}} -function keyhandler (mod, key, event) - if event == "release" then return true end - - if key == "o" then - awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end - elseif key == "O" then - awful.screen.focus_relative(1) - elseif key == "f" then - awful.client.focus.bydirection("right") - if client.focus then client.focus:raise() end - elseif key == "b" then - awful.client.focus.bydirection("left") - if client.focus then client.focus:raise() end - elseif key == "n" then - awful.client.focus.bydirection("down") - if client.focus then client.focus:raise() end - elseif key == "p" then - awful.client.focus.bydirection("up") - if client.focus then client.focus:raise() end - else - naughty.notify({text=key}) - end - - return false -end - function focus_raise(direction) awful.client.focus.bydirection(direction) if client.focus then client.focus:raise() end |