nosc2nx/nostr.band handler add.
This commit is contained in:
parent
32e055d526
commit
9373364e83
1 changed files with 13 additions and 0 deletions
13
nosc2nx
Executable file
13
nosc2nx
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
function usage() {
|
||||
echo "$0 [<X.pub/hex..>]";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
if [[ ! "$1" ]]; then
|
||||
usage
|
||||
exit 0
|
||||
fi
|
||||
|
||||
xdg-open "https://nostr.band/$1"
|
Loading…
Reference in a new issue