diff options
author | Ayush Agarwal <ayush@fastmail.in> | 2021-09-20 04:03:58 +0530 |
---|---|---|
committer | Ayush Agarwal <ayush@fastmail.in> | 2021-09-20 04:03:58 +0530 |
commit | ba858c4ede09870e96112a3caa08b5b462bf5f00 (patch) | |
tree | fda8e6cf1128142251070ba24e024dfab3b92c6d | |
parent | 89e0637e06b32e831b1bd21649ef1ff7e9376660 (diff) |
don't use notifications for errors
-rwxr-xr-x | tessen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |