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:
parent
d5744f597c
commit
f929aef2d9
50 changed files with 658 additions and 476 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue