aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 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 <list of terminals>");
+ eprintln!("usage: swhd <list of terminals>");
return Ok(());
}