From bff167127104692eeb5c5c28f671c7518b9022fa Mon Sep 17 00:00:00 2001 From: Hyunjin Cha Date: Thu, 5 Mar 2015 00:47:22 +0900 Subject: [PATCH] Add main script to add `- ` for selected text --- HyphenList.popclipext/Config.plist | 2 +- HyphenList.popclipext/add-hyphens.sh | 1 + HyphenList.popclipext/say.sh | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100755 HyphenList.popclipext/add-hyphens.sh delete mode 100644 HyphenList.popclipext/say.sh diff --git a/HyphenList.popclipext/Config.plist b/HyphenList.popclipext/Config.plist index 789dd47..1182526 100644 --- a/HyphenList.popclipext/Config.plist +++ b/HyphenList.popclipext/Config.plist @@ -10,7 +10,7 @@ Image File speechicon.png Shell Script File - say.sh + add-hyphens.sh Stoppable Title diff --git a/HyphenList.popclipext/add-hyphens.sh b/HyphenList.popclipext/add-hyphens.sh new file mode 100755 index 0000000..ba4caad --- /dev/null +++ b/HyphenList.popclipext/add-hyphens.sh @@ -0,0 +1 @@ +echo "$POPCLIP_TEXT" | sed 's/^/- /' diff --git a/HyphenList.popclipext/say.sh b/HyphenList.popclipext/say.sh deleted file mode 100644 index fb7adbd..0000000 --- a/HyphenList.popclipext/say.sh +++ /dev/null @@ -1 +0,0 @@ -echo $POPCLIP_TEXT | say \ No newline at end of file