diff options
author | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-09-17 15:33:19 -0400 |
---|---|---|
committer | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-09-17 15:33:19 -0400 |
commit | 2f20cc54c792c38f52072e2f6afb92eb6e1421ec (patch) | |
tree | 811199809f580c18db13616e7dbc411a015e1562 | |
parent | 6fd76c254b296da86619b43db619ccebcd521853 (diff) | |
parent | 0232c179cbbd946b6d997afbf67fddb866d5d0fd (diff) |
merge
-rw-r--r-- | translate-widget/README.MD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/translate-widget/README.MD b/translate-widget/README.MD index dcc603f..9c87ed0 100644 --- a/translate-widget/README.MD +++ b/translate-widget/README.MD @@ -13,7 +13,7 @@ This widget allows quickly translate words or phrases without opening a browser ## Installation 1. Clone repo under **~/.config/awesome/** -1. Get an [API key](https://translate.yandex.com/developers/keys) and paste it in **translate.lua** as value of the `API_KEY` variable +1. Get an [API key](https://translate.yandex.com/developers/keys) and paste it in **secrets.lua** as value of the ` translate_widget_api_key` variable 1. Require widget in **rc.lua**: ```lua @@ -23,6 +23,8 @@ This widget allows quickly translate words or phrases without opening a browser 1. Add a shortcut to run translate prompt: ```lua - awful.key({ modkey }, "c", function() translate.show_translate_prompt() end, { description = "run translate prompt", group = "launcher" }), + awful.key({ modkey }, "c", + function() translate.show_translate_prompt() end, + { description = "run translate prompt", group = "launcher" }), ``` |