aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-09-25 16:10:05 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-09-25 16:10:05 +0200
commit098a9850cb83dd145ac95f5457a284043d930383 (patch)
tree64eb20d882b9c46c1aef5020acb0f132821decf5
parent0dedd834dc8d123ae2c4043a0df841656931df98 (diff)
remove uneeded prints
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-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(());
}