change bookmarks directory

This commit is contained in:
cho 2023-05-04 13:55:54 +07:00
parent 45bec69596
commit 8c56307033

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
bookmark="$(wl-paste)" bookmark="$(wl-paste)"
file="$HOME/notebook/bookmarks/bookmarks.md" file="$HOME/notebook/bookmarks.org"
if grep -q "^$bookmark$" "$file"; then if grep -q "^$bookmark$" "$file"; then
notify-send "error." "bookmark \"$bookmark\" exists." notify-send "error." "bookmark \"$bookmark\" exists."