tessen

default description
git clone https://git.awy.one/tessen.git
Log | Files | Refs | README | LICENSE

commit ba858c4ede09870e96112a3caa08b5b462bf5f00
parent 89e0637e06b32e831b1bd21649ef1ff7e9376660
Author: Ayush Agarwal <ayush@fastmail.in>
Date:   Mon, 20 Sep 2021 04:03:58 +0530

don't use notifications for errors

Diffstat:
Mtessen | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tessen b/tessen @@ -214,7 +214,7 @@ validate_clip_time() { if [[ "$CLIP_TIME" =~ $clip_regex ]]; then return 0 else - notify-send "invalid clipboard time provided" + printf '%s\n' "invalid clipboard time provided" >&2 exit 1 fi } @@ -238,7 +238,7 @@ main() { # exit if the password store directory doesn't exist if ! [[ -d "$PREFIX" ]]; then - notify-send "password store not found" + printf '%s\n' "password store not found" >&2 exit 1 fi