diff --git a/nbcl/components/datetime_widg.nbcl b/nbcl/components/datetime_widg.nbcl index d79d97a..86448ca 100644 --- a/nbcl/components/datetime_widg.nbcl +++ b/nbcl/components/datetime_widg.nbcl @@ -10,15 +10,3 @@ component DateTimeWidg (widgname, widgtextvar) { height = config.panel_height } } - -#- -# Example usage - DateTimeWidg "paneldatewidg" { - widgname = "paneldatewidg" - widgtextvar = "date_ddM" - } - DateTimeWidg "paneltimewidg" { - widgname = "paneltimewidg" - widgtextvar = "time_hhmm" - } --# \ No newline at end of file diff --git a/nbcl/panel/panel_section_center.nbcl b/nbcl/panel/panel_section_center.nbcl index 03ad283..52aa37f 100644 --- a/nbcl/panel/panel_section_center.nbcl +++ b/nbcl/panel/panel_section_center.nbcl @@ -18,7 +18,7 @@ fn panel_center() { truncate_left = false limit_width = config.panel_windowtitle_maxchars text = global("xdistate").mutate(|val|{ - json.parse(val).window_title + json.parse(val).active_window.name }) } } diff --git a/nbcl/vars/xdi.nbcl b/nbcl/vars/xdi.nbcl index 9aac51b..ce515a5 100644 --- a/nbcl/vars/xdi.nbcl +++ b/nbcl/vars/xdi.nbcl @@ -2,7 +2,7 @@ import core.json Listen "xdistate" { initial = "{}" - cmd = "leftwm-state" + cmd = "xdi -f" }