From 58bd0ceb4104b1f3bffd49da106ff8808c8d7ba0 Mon Sep 17 00:00:00 2001 From: savnk_manjaro Date: Mon, 10 May 2021 15:34:01 -0700 Subject: [PATCH] (utilities): add open_dictionary --- utilities/open_dictionary | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 utilities/open_dictionary diff --git a/utilities/open_dictionary b/utilities/open_dictionary new file mode 100755 index 0000000..565176f --- /dev/null +++ b/utilities/open_dictionary @@ -0,0 +1,2 @@ +#!/bin/bash +goldendict \"$(xsel|tr '\n' ' '|sed -r 's/^[^[:alpha:]]*([-[:alpha:]]*).*$/&/')\"