Skip to content

seanbreckenridge/bookmark.txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

bookmark.txt

If you're not familiar with todo.txt, see here

This is a thin wrapper around todo.txt to keep track of my bookmarks. All commands (except the -d flag) call the underlying todo.sh command.

It maintains a separate config file at ~/.config/bookmark.txt. To change that, you can set the BOOKMARK_CONFIG_DIR environment variable and modify the generated config file.

Should mention that this works perfectly fine if your todo configuration is very simple, but if you start adding third party add-ons for todo.txt, it can be annoying to sync config changes. I've since come up with a better solution for myself, see managing multiple todo.txt files

Usage

Like todo.txt:

  • you can use flags to filter by multiple contexts/tags.
$ bookmark list +programming
1 programming; language theory http://alvaro-videla.com/archive.html +programming
--
BOOKMARKS: 1 of 3 tasks shown
  • its easy to create scripts on top of this since the data format is just a text file:
    • prompt - uses rofi to prompt me to add/mark bookmarks as 'done' (remove them)
    • open - uses rofi and urlextract on the selected bookmark, to open it in my browser

Install

To install, copy the bookmark script onto your $PATH somewhere

Could use basher to do that for you:

basher install seanbreckenridge/bookmark.txt

About

A thin wrapper around todo.txt to keep track of my bookmarks

Topics

Resources

License

Stars

Watchers

Forks

Languages