From 098a9850cb83dd145ac95f5457a284043d930383 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Mon, 25 Sep 2023 16:10:05 +0200 Subject: remove uneeded prints Signed-off-by: Anna (navi) Figueiredo Gomes --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f9f3f36..f3199e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,6 @@ impl WindowHider { fn hide(&self, conn: &mut Connection, pid: i32) -> Result<(), Error> { let ppid = self.get_parent_term_pid(pid, true)?; if let Some(ppid) = ppid { - println!("found parent pid of {pid} as {ppid}"); conn.run_command(format!("[pid={ppid}] mark --add {pid}, move scratchpad"))?; } Ok(()) @@ -87,7 +86,7 @@ fn main() -> Result<(), swayipc::Error> { let nterms = args.len() - 1; if nterms < 1 { - println!("usage: swhd "); + eprintln!("usage: swhd "); return Ok(()); } -- cgit v1.2.3