Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.16k stars 90 forks source link

Bookmarks idea #263

Open DNDEBUG opened 2 years ago

DNDEBUG commented 2 years ago

I want to make a bookmarks script but i don't know how to start it

my idea is to have categories before the url example: social art video https://foo.bar music download media https://bar.foo

so i would only search the categories and and bemenu outputs the url then i just select it

could work like that

thing thing thing url then use sed or awk to grab the url and bemenu opens it with xdg-open

DNDEBUG commented 2 years ago

cat bookmarks | bemenu -l 5 | awk '{print $(NF)}' works but i don't want to show the categories only the address

stacyharper commented 1 year ago

https://paste.sr.ht/~stacyharper/b72f1873f77b0d7c1862be067514042025a5c6ad

It relies on a single "$HOME"/bookmarks file that can be a symlink. It will display everything, the title and the url. It is better to search the thing you have in mind imo.