summaryrefslogtreecommitdiffstats
path: root/.local/bin/bukuadd_c
diff options
context:
space:
mode:
authorYigit Sever2021-11-04 12:25:04 +0300
committerYigit Sever2021-11-04 12:25:04 +0300
commita0bb023d782dd2d8703670d560b5ccd8d25d640e (patch)
tree1c11a649e2201e1458c4011894086f49da5ded15 /.local/bin/bukuadd_c
parent93cdb13eada4e803fb4db71fb581d9e4a03d2119 (diff)
downloaddotfiles-a0bb023d782dd2d8703670d560b5ccd8d25d640e.tar.gz
dotfiles-a0bb023d782dd2d8703670d560b5ccd8d25d640e.tar.bz2
dotfiles-a0bb023d782dd2d8703670d560b5ccd8d25d640e.zip
bins: shfmt, weasel suite, spark
Diffstat (limited to '.local/bin/bukuadd_c')
-rwxr-xr-x.local/bin/bukuadd_c4
1 files changed, 2 insertions, 2 deletions
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
10 10
11FOO=$(buku --nostdin --np --nc -p -1) 11FOO=$(buku --nostdin --np --nc -p -1)
12OUT="$(buku --nostdin --np --nc -a "$url" "$tags" 2>&1)" 12OUT="$(buku --nostdin --np --nc -a "$url" "$tags" 2>&1)"
13if [[ $OUT =~ "ERROR" ]] ; then 13if [[ $OUT =~ "ERROR" ]]; then
14 notify-send "Bookmarking Failed" "$OUT" --app-name="buku" --icon="dialog-error" 14 notify-send "Bookmarking Failed" "$OUT" --app-name="buku" --icon="dialog-error"
15 exit 1 15 exit 1
16fi 16fi
@@ -20,7 +20,7 @@ BAR=$FOO
20while [[ $BAR == "$FOO" ]]; do 20while [[ $BAR == "$FOO" ]]; do
21 sleep 1 21 sleep 1
22 BAR=$(buku --nostdin --np --nc -p -1) 22 BAR=$(buku --nostdin --np --nc -p -1)
23done; 23done
24 24
25notify-send "Success" "$BAR" --app-name="buku" --icon="checkmark" 25notify-send "Success" "$BAR" --app-name="buku" --icon="checkmark"
26 26