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 #!/bin/sh
usage(){ 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"}" bookmarks="${BOOKMARKS:-"$HOME/.config/qutebrowser/bookmarks/urls"}"

View file

@ -8,19 +8,25 @@ open-bookmark(1)
*open-bookmark -s|f|r|d|h* *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 # OPTIONS
*-s* *-s*
use *sk(1)* to open *qutebrowser(1)* bookmarks file use *sk(1)* to select bookmark
*-f* *-f*
use *fzf(1)* to open *qutebrowser(1)* bookmarks file use *fzf(1)* to select bookmark
*-r* *-r*
use *rofi(1)* to open *qutebrowser(1)* bookmarks file use *rofi(1)* to select bookmark
*-d* *-d*
use *$MENU* to open *qutebrowser(1)* bookmarks file use *$MENU* to select bookmark
*-h* *-h*
print usage and exit print usage and exit