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