mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 03:58:51 +02:00
dbg: fix client_info()
function to display provided client
Display the focused client only if we don't have get a client.
This commit is contained in:
parent
402b15f38e
commit
60908e329d
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ local colors = {
|
||||||
name = theme.fg_widget_value_important,
|
name = theme.fg_widget_value_important,
|
||||||
}
|
}
|
||||||
|
|
||||||
local function client_info()
|
local function client_info(c)
|
||||||
local v = ""
|
local v = ""
|
||||||
|
|
||||||
-- object
|
-- object
|
||||||
local c = client.focus
|
local c = c or client.focus
|
||||||
v = v .. tostring(c)
|
v = v .. tostring(c)
|
||||||
|
|
||||||
-- geometry
|
-- geometry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue