Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Hold to translate with deepl.com

Kohei Yamada edited this page Jun 28, 2020 · 2 revisions

Dependencies

  • xsel
  • google-chrome
hold:
  3:
    command: test -n "$(xsel -p)" && echo $(xsel -p) | ruby -ne 'p URI.encode $_' | xargs -I{} google-chrome --new-window --app=https://www.deepl.com/translator#auto/auto/{}
Clone this wiki locally