Skip to content

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

License

Notifications You must be signed in to change notification settings

purarue/bookmark.txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

As a sidenote: This works totally fine, I just don't use this script specifically anymore, since I came up with a better solution

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.

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 purarue/bookmark.txt

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages