Permalink
Browse files

awesome: Modkey-i: better debugging for window rules

  • Loading branch information...
rohieb committed May 14, 2017
1 parent 9cfd084 commit 0790eb6e457b9c164682e09616f6b2489a3934d8
Showing with 13 additions and 0 deletions.
  1. +13 −0 .config/awesome/bindings.lua
@@ -113,6 +113,19 @@ globalkeys = awful.util.table.join(
)
clientkeys = awful.util.table.join(
+ awful.key({ modkey, }, "i", function (c)
+ naughty.notify({ text =
+ "class: " .. c.class .. "\n" ..
+ "name: " .. c.name .. "\n" ..
+ "window: " .. c.window .. "\n" ..
+ "instance: " .. c.instance .. "\n" ..
+ "pid: " .. c.pid .. "\n" ..
+ "role: " .. (c.role or "") .. "\n" ..
+ "machine: " .. c.machine .. "\n" ..
+ "icon_name: " .. c.icon_name .. "\n" ..
+ ""})
+ end),
+
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),

0 comments on commit 0790eb6

Please sign in to comment.