Skip to content

Commit d4d056c

Browse files
committed
dont show NOTAG in edit dialog. fixes #11
1 parent 43356c2 commit d4d056c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buku_run

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ deleteMenu () {
148148
editMenu () {
149149
bookmark=$(echo "${menu}" | awk '{ print $2 }')
150150
id=$(echo "${menu}" | awk '{ print $1 }')
151-
tags=$(echo "${menu}" | awk '{ print substr($0, index($0,$3)) }')
151+
tags=$(echo "${menu}" | awk '{ print substr($0, index($0,$3)) }' | sed 's/NOTAG//g')
152152
content=$(echo -e "url: $bookmark\ntags: $tags")
153153
editmenu=$(echo -e "< Return\n---\n${content}" | _rofi -p '> ')
154154
val=$?

0 commit comments

Comments
 (0)