diff options
| author | LM-LCL <hello@exaltedelite.club> | 2023-08-31 01:01:57 +0200 |
|---|---|---|
| committer | LM-LCL <hello@exaltedelite.club> | 2023-09-01 16:14:09 +0200 |
| commit | 9aa290b9667832c8ae41ed8bc36e57da7a74b9c2 (patch) | |
| tree | 532a98d4561a85952543c609e4ff7c5c45601b5a /util/verify/cbd-core | |
| parent | fe92c7ac827b18673e1fa89dacfca370dcfd313d (diff) | |
complete script revamp
Diffstat (limited to 'util/verify/cbd-core')
| -rwxr-xr-x | util/verify/cbd-core | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/util/verify/cbd-core b/util/verify/cbd-core deleted file mode 100755 index 99dcbde..0000000 --- a/util/verify/cbd-core +++ /dev/null @@ -1,25 +0,0 @@ -#! /bin/bash - -source ./util/notify -source ./util/hpath - -get_cbd() { - echo "$(xclip -o)" -} - -end_script() { - notify "$1" - kill -15 $$ -} - -url_pattern_match() { - [[ "$1" != "$2"* ]] && end_script "$3" \ - || echo "$1" >> "$HPATH" -} - -url_pattern_match_cbd() { - [ -z "$3" ] && cbd="$(get_cbd)" || cbd="$3" - url_pattern_match "$cbd" "$1" "$2" - echo "$cbd" -} - |
