diff --git a/src/bin/open-bookmark b/src/bin/open-bookmark index 11d6947..4ec3c9e 100755 --- a/src/bin/open-bookmark +++ b/src/bin/open-bookmark @@ -1,7 +1,7 @@ #!/bin/sh usage(){ - printf "Usage: %s: -s|f|r|d|h\n" $0 + printf "Usage: %s -s|f|r|d|h\n" $(basename $0) } bookmarks="${BOOKMARKS:-"$HOME/.config/qutebrowser/bookmarks/urls"}" diff --git a/src/manpages/open-bookmark.1.scd b/src/manpages/open-bookmark.1.scd index 0e8e410..1e3fe7c 100644 --- a/src/manpages/open-bookmark.1.scd +++ b/src/manpages/open-bookmark.1.scd @@ -8,19 +8,25 @@ open-bookmark(1) *open-bookmark -s|f|r|d|h* +# DESCRIPTION +*qutebrowser(1)* saves its bookmarks in +'*~/.config/qutebrowser/bookmarks/urls*'. +I would like to be able to access those bookmarks more easily outside of +qutebrowser sometimes. Hence this script now exists. + # OPTIONS *-s* - use *sk(1)* to open *qutebrowser(1)* bookmarks file + use *sk(1)* to select bookmark *-f* - use *fzf(1)* to open *qutebrowser(1)* bookmarks file + use *fzf(1)* to select bookmark *-r* - use *rofi(1)* to open *qutebrowser(1)* bookmarks file + use *rofi(1)* to select bookmark *-d* - use *$MENU* to open *qutebrowser(1)* bookmarks file + use *$MENU* to select bookmark *-h* print usage and exit