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