refactor + feature flags
Release / Build and Release (push) Has been cancelled

This commit is contained in:
2026-04-04 00:18:22 +02:00
parent 941942d550
commit 31072bc645
17 changed files with 816 additions and 747 deletions
+7 -4
View File
@@ -20,10 +20,13 @@ impl WaybarModule for DndModule {
let action = args.first().unwrap_or(&"show");
if *action == "toggle" {
let connection = Connection::session().await.map_err(|e| crate::error::FluxoError::Module {
module: "dnd",
message: format!("DBus connection failed: {}", e),
})?;
let connection =
Connection::session()
.await
.map_err(|e| crate::error::FluxoError::Module {
module: "dnd",
message: format!("DBus connection failed: {}", e),
})?;
// Try toggling SwayNC
if let Ok(proxy) = SwayncControlProxy::new(&connection).await {