mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +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,
|
||||
}
|
||||
|
||||
local function client_info()
|
||||
local function client_info(c)
|
||||
local v = ""
|
||||
|
||||
-- object
|
||||
local c = client.focus
|
||||
local c = c or client.focus
|
||||
v = v .. tostring(c)
|
||||
|
||||
-- geometry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue