summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-08 10:00:11 +0100
committerGravatar Tom Willemsen2013-02-08 10:00:11 +0100
commitb9e64b75ee744f951dbaa04974515850882418de (patch)
treefc4732e8c49ddc4d66a62467dffc4f027c1301f5
parentbbde295be61e19c9742a7a76557492962da19efc (diff)
downloaddotfiles-b9e64b75ee744f951dbaa04974515850882418de.tar.gz
dotfiles-b9e64b75ee744f951dbaa04974515850882418de.zip
awesome: Make modkey+o focus the "next" screen
Have modkey+shift+o replace the old modkey+o functionality
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 3fb0d1f..91cbd3d 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -325,7 +325,9 @@ clientkeys = awful.util.table.join(
awful.client.floating.toggle),
awful.key({ modkey, "Control" }, "Return",
function (c) c:swap(awful.client.getmaster()) end),
- awful.key({ modkey, }, "o", awful.client.movetoscreen),
+ awful.key({ modkey, }, "o",
+ function () awful.screen.focus_relative(1) end),
+ awful.key({ modkey, "Shift" }, "o", awful.client.movetoscreen),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
awful.key({ modkey, }, "m",
function (c)