1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

refactor: replace channel macros with ext trait methods

This commit is contained in:
Jake Stanger 2025-05-18 15:17:09 +01:00
parent d5744f597c
commit f929aef2d9
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
50 changed files with 658 additions and 476 deletions

View file

@ -25,6 +25,7 @@ use tracing::{debug, error, info, warn};
use universal_config::ConfigLoader;
use crate::bar::{Bar, create_bar};
use crate::channels::SyncSenderExt;
use crate::clients::Clients;
use crate::clients::wayland::OutputEventType;
use crate::config::{Config, MonitorConfig};
@ -34,6 +35,7 @@ use crate::ironvar::{VariableManager, WritableNamespace};
use crate::style::load_css;
mod bar;
mod channels;
#[cfg(feature = "cli")]
mod cli;
mod clients;
@ -202,7 +204,7 @@ impl Ironbar {
.expect("Error setting Ctrl-C handler");
let hold = app.hold();
send!(activate_tx, hold);
activate_tx.send_expect(hold);
});
{