From 8ec0b3da94b3bbc18140bdea22488d51676d2634 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 20 Apr 2020 03:33:21 -0500 Subject: more of the breaking-change. code to get the line moved to external program so it can be rewritten easier. copy_start_nevermind.sh uses it now. cleaned up Makefile styling. --- copy_start_nevermind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'copy_start_nevermind.sh') diff --git a/copy_start_nevermind.sh b/copy_start_nevermind.sh index ec8f102..cae5668 100755 --- a/copy_start_nevermind.sh +++ b/copy_start_nevermind.sh @@ -1,7 +1,7 @@ #!/bin/bash scheme="$(uricut -s <<< "$1")" selection="$(printf "%s\ncopy\nstart\nnevermind\n" "$(printf "%s\n" "$1" | uricut | grep -v '^whole')" \ - | choose "$(printf "uri: '%s'\nwill be ran with: %s\n" "$1" "$(grep "^${scheme}:" ~/.config/uristart.conf | tr -s '\t' | cut -f2- )" )")" + | choose "$(printf "uri: '%s'\nwill be ran with: %s\n" "$1" "$(urigetline "$1")" )")" echo "$selection" if [ "$selection" = "copy" ];then printf "%s" "$1" | xclip -i -- cgit v1.2.3