From a0bb023d782dd2d8703670d560b5ccd8d25d640e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 4 Nov 2021 12:25:04 +0300 Subject: bins: shfmt, weasel suite, spark --- .local/bin/bukuadd_c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/bukuadd_c') diff --git a/.local/bin/bukuadd_c b/.local/bin/bukuadd_c index 925022a..86f705d 100755 --- a/.local/bin/bukuadd_c +++ b/.local/bin/bukuadd_c @@ -10,7 +10,7 @@ fi FOO=$(buku --nostdin --np --nc -p -1) OUT="$(buku --nostdin --np --nc -a "$url" "$tags" 2>&1)" -if [[ $OUT =~ "ERROR" ]] ; then +if [[ $OUT =~ "ERROR" ]]; then notify-send "Bookmarking Failed" "$OUT" --app-name="buku" --icon="dialog-error" exit 1 fi @@ -20,7 +20,7 @@ BAR=$FOO while [[ $BAR == "$FOO" ]]; do sleep 1 BAR=$(buku --nostdin --np --nc -p -1) -done; +done notify-send "Success" "$BAR" --app-name="buku" --icon="checkmark" -- cgit v1.2.3-70-g09d2