summaryrefslogtreecommitdiff
path: root/scripts/bookmarks
diff options
context:
space:
mode:
authorJake Koroman <jake@jakekoroman.com>2025-06-01 10:55:23 -0400
committerJake Koroman <jake@jakekoroman.com>2025-06-01 10:55:23 -0400
commit3b4590b1a745b06ce36cb558a4749923675e9b35 (patch)
tree532e9f00ae0b7fdeb3645f13b926e8a65b74f1ec /scripts/bookmarks
Ready. Set. Go!
Diffstat (limited to 'scripts/bookmarks')
-rwxr-xr-xscripts/bookmarks7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/bookmarks b/scripts/bookmarks
new file mode 100755
index 0000000..cb0c192
--- /dev/null
+++ b/scripts/bookmarks
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+readarray -t bookmarks < $MENULAUNCHER_DIR/bookmarks
+
+url=$(printf '%s\n' "${bookmarks[@]}" | dmenu -p "Bookmark: " -i -l 16 | sed 's/^.*: //g')
+
+[[ ! -z "$url" ]] && firefox --new-tab $url