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


README (1209 bytes)

1 Manage bookmarks with dmenu and a basic file.
2 
3 For example:
4 
5 https://equwal.com  Spenser Truex's website.
6 
7 And interact with this file using the dmenu script.
8 
9 == Scripts ==
10 bm      search & copy, add, or edit a bookmark. Incomplete.
11 bmks    the old version from somewhere. Will be removed soon.
12 == Install ==
13 Requirements: xclip, dmenu, make
14 1) Export the $BOOKMARKS variable containing the location of the
15 bookmarks. I like to use ~/.local/share/sbm to store my config.
16     mkdir -p ~/.local/share/sbm/
17     ~/.bashrc
18         export BOOKMARKS="~/.local/share/sbm/bookmarks"
19 2) define your tag choices in USERTAGS and export that too. The file syntax is:
20 
21     <tag><space><description><newline>
22 
23     See the included usertags file for an example.
24 
25     ~/.bashrc
26         export USERTAGS="~/.local/share/sbm/usertags"
27 
28 3) make install
29 
30 == Usage ==
31 Execute
32 
33 search-term is an extended regex for grep.\n\nBookmark lines are Tab Separated Values\n"
34 URL<tab>description\n"
35 
36 Some ideas taken from Karl Voit:
37 https://karl-voit.at/2022/01/29/How-to-Use-Tags/
38 
39 == Tip ==
40 The bookmarks can be converted from the web browser formats using
41 netscape-bookmark-converter at https://github.com/jhh/netscape-bookmark-converter