binding: update client information

Some properties were missing and some other did not exist.
This commit is contained in:
Vincent Bernat 2012-07-14 23:38:15 +02:00
parent ca4b595e49
commit 4baa928dbc

View file

@ -19,13 +19,14 @@ local function client_info()
local inf = { local inf = {
"name", "icon_name", "type", "class", "role", "instance", "pid", "name", "icon_name", "type", "class", "role", "instance", "pid",
"icon_name", "skip_taskbar", "id", "group_id", "leader_id", "machine", "icon_name", "skip_taskbar", "id", "group_window", "leader_id", "machine",
"screen", "hide", "minimize", "size_hints_honor", "titlebar", "urgent", "screen", "hidden", "minimized", "size_hints_honor", "titlebar", "urgent",
"focus", "opacity", "ontop", "above", "below", "fullscreen", "transient_for" "focus", "opacity", "ontop", "above", "below", "fullscreen", "transient_for",
"maximixed_horizontal", "maximixed_vertical", "sticky", "modal", "focusable"
} }
for i = 1, #inf do for i = 1, #inf do
v = v .. string.format('%2s: <span color="%s">%-16s</span> = <span color="%s">%s</span>\n', v = v .. string.format('%2s: <span color="%s">%-20s</span> = <span color="%s">%s</span>\n',
i, i,
beautiful.fg_widget_label, inf[i], beautiful.fg_widget_label, inf[i],
beautiful.fg_widget_value, tostring(c[inf[i]])) beautiful.fg_widget_value, tostring(c[inf[i]]))