More cleanup

This commit is contained in:
Nox Sluijtman 2023-10-20 15:29:55 +02:00
parent d821087b0c
commit 514edc606e
2 changed files with 11 additions and 5 deletions

View file

@ -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"}"

View file

@ -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