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

This commit is contained in:
Storm Dragon committed 2024-06-13 00:30:46 -04:00
1 parent 6eece49afc
commit c7cf3bff16
1 file changed
+1 -2
+1 -2
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