Fixed a problem with bookmarks not being written to the correct file.

This commit is contained in:
Storm Dragon 2024-06-13 00:30:46 -04:00
parent 6eece49afc
commit c7cf3bff16

View File

@ -64,8 +64,7 @@ add_bookmark() {
bookmarksFile="${config}/i3/bookmarks"
fi
else
bookmarksFile="${config}/surfraw/bookmarks"
[[ -f "${config}/i3/bookmarks" ]] && bookmarksFile="${config}/i3/bookmarks"
bookmarksFile="${config}/i3/bookmarks"
fi
# Check for duplicates