From c166c159369423286430712fb2fa9cc12765d449 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 4 Nov 2022 11:22:27 -0400 Subject: [PATCH] bookmk: added script --- src/.local/bin/bookmk | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 src/.local/bin/bookmk diff --git a/src/.local/bin/bookmk b/src/.local/bin/bookmk new file mode 100755 index 0000000..b07e7e3 --- /dev/null +++ b/src/.local/bin/bookmk @@ -0,0 +1,6 @@ +#!/bin/sh +# Copy a bookmark to clipboard. +# Requires fzf, xsel +# Bookmarks are stored in ~/dox/not/bk.txt, commented with # + +cat ~/dox/not/bk.txt | fzf | awk -F'#' '{print $1}' | xsel -ib