summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorNicolas Schodet2019-05-28 01:09:11 +0200
committerNicolas Schodet2019-05-28 01:09:11 +0200
commit72e7e64f89eebb59311a412db34844d01b2ca2a0 (patch)
tree62fc663f7ad9ac555918f967f61f3f17b69c8e8f /rc.lua
parent1845e31ffef72ea233520f0696bad4c59f339b9d (diff)
Use arrows instead of vim hjkl
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua28
1 files changed, 12 insertions, 16 deletions
diff --git a/rc.lua b/rc.lua
index 27826c1..e4ff257 100644
--- a/rc.lua
+++ b/rc.lua
@@ -280,20 +280,16 @@ root.buttons(awful.util.table.join(
globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "#57", hotkeys_popup.show_help,
{description="show help", group="awesome"}),
- awful.key({ modkey, }, "Left", awful.tag.viewprev,
- {description = "view previous", group = "tag"}),
- awful.key({ modkey, }, "Right", awful.tag.viewnext,
- {description = "view next", group = "tag"}),
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
{description = "go back", group = "tag"}),
- awful.key({ modkey, }, "j",
+ awful.key({ modkey, }, "Down",
function ()
awful.client.focus.byidx( 1)
end,
{description = "focus next by index", group = "client"}
),
- awful.key({ modkey, }, "k",
+ awful.key({ modkey, }, "Up",
function ()
awful.client.focus.byidx(-1)
end,
@@ -301,13 +297,13 @@ globalkeys = awful.util.table.join(
),
-- Layout manipulation
- awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
+ awful.key({ modkey, "Shift" }, "Down", function () awful.client.swap.byidx( 1) end,
{description = "swap with next client by index", group = "client"}),
- awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
+ awful.key({ modkey, "Shift" }, "Up", function () awful.client.swap.byidx( -1) end,
{description = "swap with previous client by index", group = "client"}),
- awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end,
+ awful.key({ modkey, "Control" }, "Down", function () awful.screen.focus_relative( 1) end,
{description = "focus the next screen", group = "screen"}),
- awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
+ awful.key({ modkey, "Control" }, "Up", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
@@ -339,17 +335,17 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "c", function () awful.spawn(calc) end,
{description = "run calculator", group = "launcher"}),
- awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
+ awful.key({ modkey, }, "Left", function () awful.tag.incmwfact( 0.05) end,
{description = "increase master width factor", group = "layout"}),
- awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
+ awful.key({ modkey, }, "Right", function () awful.tag.incmwfact(-0.05) end,
{description = "decrease master width factor", group = "layout"}),
- awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end,
+ awful.key({ modkey, "Shift" }, "Right", function () awful.tag.incnmaster( 1, nil, true) end,
{description = "increase the number of master clients", group = "layout"}),
- awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end,
+ awful.key({ modkey, "Shift" }, "Left", function () awful.tag.incnmaster(-1, nil, true) end,
{description = "decrease the number of master clients", group = "layout"}),
- awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end,
+ awful.key({ modkey, "Control" }, "Right", function () awful.tag.incncol( 1, nil, true) end,
{description = "increase the number of columns", group = "layout"}),
- awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end,
+ awful.key({ modkey, "Control" }, "Left", function () awful.tag.incncol(-1, nil, true) end,
{description = "decrease the number of columns", group = "layout"}),
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end,
{description = "select next", group = "layout"}),