fixed a formating error in the json output

This commit is contained in:
2025-03-06 08:25:17 +01:00
parent ba91e4e58c
commit 50776e1104

View File

@@ -777,7 +777,7 @@ fn run_activewindow_client(config: &Config) {
match event {
HyprlandEvent::ActiveWindowV2 { window_address } => {
if let Some(client) = clients.get(&format!("0x{}", window_address)) {
println!("{:#?}", serde_json::to_string(&client).unwrap());
println!("{}", serde_json::to_string(&client).unwrap());
} else {
clients = query_socket(QueryModes::Clients);
if let Some(client) = clients.get(&format!("0x{}", window_address)) {