From f6a8f5004bc95372cbdc36a2f1d7666f28849c10 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 3 Aug 2022 18:05:24 -0700 Subject: [PATCH] Remove pdf in screenshot script --- modules/screenshot/screenshot.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/screenshot/screenshot.fish b/modules/screenshot/screenshot.fish index a627309..f6abe56 100755 --- a/modules/screenshot/screenshot.fish +++ b/modules/screenshot/screenshot.fish @@ -50,7 +50,9 @@ function capture flameshot gui --accept-on-select --path $tmp_file convert $tmp_file $tmp_file.pdf lpr -T "Autoprint Screenshot" $tmp_file.pdf + rm $tmp_file + rm $tmp_file.pdf case "*" echo "Unknown action \"$argv[1]\""