]> git.donarmstrong.com Git - x_base.git/blobdiff - .config/awesome/rc.lua
* add ontop setting
[x_base.git] / .config / awesome / rc.lua
index 05ae1194725515e94f6da882ef0062f4aa6acf93..75e90a87f4edd09b2ebfb1dc263e22dc0617eb5e 100644 (file)
@@ -249,6 +249,7 @@ clientkeys = awful.util.table.join(
     awful.key({ modkey, "Control" }, "space",  awful.client.floating.toggle                     ),
     awful.key({ modkey,           }, "space", function (c) c:swap(awful.client.getmaster()) end),
     awful.key({ modkey,           }, "o",      awful.client.movetoscreen                        ),
+    awful.key({ modkey,           }, "t",      function (c) c.ontop = not c.ontop            end)
     awful.key({ modkey, "Shift"   }, "r",      function (c) c:redraw()                       end),
     awful.key({ modkey, "Shift"   }, "m",      function (c) c.minimized = not c.minimized    end),
     awful.key({ modkey,           }, "m",
@@ -358,7 +359,7 @@ function warp_mouse()
     c = client.focus
     if c then
         local g = c:geometry()
-        mouse.coords { x = g.x + 5, y = g.y + 5 , true}
+        mouse.coords({ x = g.x + 30, y = g.y + 30}, true)
     end
 end