From 7419b9fc45ba291d5d10a9f5bea3fa5d33dfedc0 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 16 Sep 2020 15:22:27 +0300 Subject: move bin to .local/bin --- bin/bukuadd_c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 bin/bukuadd_c (limited to 'bin/bukuadd_c') diff --git a/bin/bukuadd_c b/bin/bukuadd_c deleted file mode 100755 index d4e1a3d..0000000 --- a/bin/bukuadd_c +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -#set -e -url=$(xsel -b) -tags=$(zenity --entry --text="enter tags for $url") - -if [[ $? -ne 0 ]]; then - exit 0 -fi - -FOO=$(buku --np --nc -p -1) -OUT="$(buku --np --nc -a "$url" "$tags" 2>&1)" -#echo "OUT>$OUT" -if [[ $OUT =~ "ERROR" ]] ; then - notify-send "Bookmarking Failed" "$OUT" --app-name="buku" --icon="dialog-error" - exit 1 -fi - -BAR=$FOO - -while [[ $BAR == "$FOO" ]]; do - sleep 1 - BAR=$(buku --np --nc -p -1) - #echo "BAR>$BAR" -done; - -notify-send "Success" "$BAR" --app-name="buku" --icon="checkmark" - -exit 0 -- cgit v1.2.3-70-g09d2