diff options
| author | Anton Bobov <anton@bobov.name> | 2025-02-07 00:12:08 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2025-02-07 00:13:23 +0500 |
| commit | da3c27abf212606850fb0c2f41cbdecfd99b1f01 (patch) | |
| tree | 95ff416e6a50db5298c965f2bf35e32d83b02fb1 /bukuadd | |
| parent | 62ec471101f29a43a3605d97678aefddb838468b (diff) | |
Add buku scripts
* script to add URL to buku
* script to fuzzy search and open bookmarks
Diffstat (limited to 'bukuadd')
| -rwxr-xr-x | bukuadd | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -euo pipefail + +main() { + if [ $# -eq 0 ]; then + alert "Added" -- buku --nostdin --add "$(xsel -ob)" need review + else + alert "Added" -- buku --nostdin --add "$1" need review + fi +} + +main "$@" |
