Recently Written · git

sbm-suckless

sbm before the rewrite: bookmarks in a plain file, picked with dmenu. Suckless style.

git clone https://github.com/equwal/sbm-suckless

Log | Files | Refs


commit 4ec93f33bfb00c01530c4aeafcf7cf8d3efe5ab9
Spenser Truex <truex@equwal.com>
2022-08-04 18:37:21 -0700

TODO in its own file

 README | 11 +++--------
 TODO   |  7 +++++++
 2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/README b/README
index d2cdbd3..2e92cfc 100644
--- a/README
+++ b/README
@@ -21,14 +21,9 @@ Execute
 search-term is an extended regex for grep.\n\nBookmark lines are Tab Separated Values\n"
 URL<tab>description\n"
 
+Some ideas taken from Karl Voit:
+https://karl-voit.at/2022/01/29/How-to-Use-Tags/
+
 == Tip ==
 The bookmarks can be converted from the web browser formats using
 netscape-bookmark-converter at https://github.com/jhh/netscape-bookmark-converter
-
-== TODO ==
-Do more to munge input than just prevent duplicates:
-- remove http(s)://
-- remove www.
-Do more to munge output than just hide duplicates:
-Allow any whitespace as a separator (except newline)
-Be a simple CLI C program and use scripts for complex usage (like dmenu).
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..f6f89bf
--- /dev/null
+++ b/TODO
@@ -0,0 +1,7 @@
+- Don't copy comments, just the bookmark.
+- Be able to add bookmarks with a dmenu prompter that shows the other bookmarks.
+- prevent duplicates via http(s) difference
+- prevent duplicates via www subdomain
+- Allow any whitespace as a separator (except newline)
+- Be a simple CLI C program and use scripts for complex usage (like dmenu).
+- User-defined tags