aboutsummaryrefslogtreecommitdiffstats
path: root/traductor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'traductor.sh')
-rw-r--r--traductor.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/traductor.sh b/traductor.sh
new file mode 100644
index 0000000..a3e15c2
--- /dev/null
+++ b/traductor.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# Recibe como input la cadena de texto seleccionada,
+# la traduce al español y devuelve el resultado en un popup.
+
+notify-send --icon=info --urgency=critical "$(xclip -o)" "<b>$(xclip -o | trans -b :es)</b>"
Un proyecto texto-plano.xyz