summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2021-02-01 19:23:31 +0100
committerPeter Palfrader <peter@palfrader.org>2021-02-01 19:23:31 +0100
commit0ddeb82ecb0ff1fe8a71a195f548b23c3b70e957 (patch)
tree0a8634ec0955f5a0a78e6faa43cdbe4f09e7434f
parent2631557cf2111c4a1cdc315ef97513c7b4f9bb3c (diff)
Update on-top hotkeys
-rw-r--r--config/awesome/rc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index a2b44ba..76fb9de 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -467,7 +467,7 @@ clientkeys = awful.util.table.join(
end),
awful.key({ modkey, }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end),
- awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
+ -- awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
-- weasel
-- awful.key({ "Mod1" }, "q", function (c)
@@ -548,7 +548,8 @@ clientkeys = awful.util.table.join(
-- awful.key({ modkey }, ";" , function (c) c:raise() end),
-- awful.key({ modkey }, "/" , function (c) c:lower() end),
awful.key({ modkey }, "Up" , function (c) c:raise() end),
- awful.key({ modkey }, "Down" , function (c) c:lower() end),
+ awful.key({ modkey }, "Down" , function (c) c.ontop = false c:lower() end),
+ awful.key({ modkey, "Shift" }, "Up" , function (c) c.ontop = not c.ontop end),
awful.key({ modkey }, "Escape", function (c) c:kill() end)