From 881c6a79276a74220e2d8c14fe98f5a636267f80 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 15 Jun 2021 22:15:07 -0400 Subject: [PATCH] bookmarks: add script --- bookmarks | 3 +++ man/bookmarks.1.scd | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 bookmarks create mode 100644 man/bookmarks.1.scd diff --git a/bookmarks b/bookmarks new file mode 100755 index 0000000..6556d55 --- /dev/null +++ b/bookmarks @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +cat ${1:-~/org/bookmarks} | dmenu -l 20 | xargs xdg-open \ No newline at end of file diff --git a/man/bookmarks.1.scd b/man/bookmarks.1.scd new file mode 100644 index 0000000..67fa1fc --- /dev/null +++ b/man/bookmarks.1.scd @@ -0,0 +1,16 @@ +bookmarks(1) + +# NAME +bookmarks - select a bookmark with dmenu + +# SYNOPSIS +*bookmarks*++ +*bookmarks [path to bookmarks file]* + +# DESCRIPTION +Allows you to select a bookmark from a list of newline delimited urls (defaults +to ~/org/bookmarks) and open it in the default browser. + +# COPYRIGHT +This is free and unencumbered software released into the public domain. For more +information, please refer to . -- 2.39.2