Add instance to client info on mod+i

This commit is contained in:
Alexander Gehrke 2020-02-24 10:24:48 +01:00
parent 05dceadc57
commit cec7035fce

View file

@ -192,7 +192,9 @@ awful.key({ modkey, }, "Down", function(c) client_opacity_set(c, 1,
awful.key({ }, "XF86Calculater", awful.client.movetoscreen ),
awful.key({ modkey }, "i", function(c)
require("naughty").notify({ text =
string.format("name: %s\nclass: %s\ntype: %s", c["name"], c["class"], c["type"])
string.format(
"name: %s\nclass: %s\ninstance: %s\ntype: %s",
c["name"], c["class"], c["instance"], c["type"])
})
end)
)