From e7d8e323092a0e199b942395ac542d3bb661292b Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Sat, 4 Jun 2022 16:45:27 +0200 Subject: [PATCH] Add installation instructions. --- .local/bin/dmenugtranslate | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.local/bin/dmenugtranslate b/.local/bin/dmenugtranslate index 0af1a29..9e1c764 100755 --- a/.local/bin/dmenugtranslate +++ b/.local/bin/dmenugtranslate @@ -1,5 +1,11 @@ #!/bin/sh +# Translate the current clipboard with the help of dmenu +# +# Utilized gtranslate. Install instructions here: +# https://git.sr.ht/~yerinalexey/gtranslate +# https://gitlab.com/-/snippets/2343500 + text=$(xclip -o -selection clipboard) map=~/.local/share/dabruh/gtranslate-lang-map