mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
fix: logging for creating bar incorrect still
This commit is contained in:
parent
f17ae7a415
commit
b66bd788b2
1 changed files with 5 additions and 2 deletions
|
@ -111,7 +111,7 @@ fn create_bars(
|
||||||
let outputs = wl.outputs.as_slice();
|
let outputs = wl.outputs.as_slice();
|
||||||
|
|
||||||
debug!("Received {} outputs from Wayland", outputs.len());
|
debug!("Received {} outputs from Wayland", outputs.len());
|
||||||
debug!("Output names: {:?}", outputs);
|
debug!("Outputs: {:?}", outputs);
|
||||||
|
|
||||||
let num_monitors = display.n_monitors();
|
let num_monitors = display.n_monitors();
|
||||||
|
|
||||||
|
@ -122,7 +122,10 @@ fn create_bars(
|
||||||
|
|
||||||
// TODO: Could we use an Arc<Config> or `Cow<Config>` here to avoid cloning?
|
// TODO: Could we use an Arc<Config> or `Cow<Config>` here to avoid cloning?
|
||||||
config.monitors.as_ref().map_or_else(
|
config.monitors.as_ref().map_or_else(
|
||||||
|| create_bar(app, &monitor, monitor_name, config.clone()),
|
|| {
|
||||||
|
info!("Creating bar on '{}'", monitor_name);
|
||||||
|
create_bar(app, &monitor, monitor_name, config.clone())
|
||||||
|
},
|
||||||
|config| {
|
|config| {
|
||||||
let config = config.get(monitor_name);
|
let config = config.get(monitor_name);
|
||||||
match &config {
|
match &config {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue