From af2ad2ac32bdac686dfa149965381f3db966281c Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 12 Sep 2012 23:27:44 +0200 Subject: [PATCH] .config/awesome/rc.lua --- .config/awesome/rc.lua | 27 --------------------------- 1 file changed, 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