summaryrefslogtreecommitdiff
path: root/translate-widget/README.MD
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@theoctavegroup.com>2019-11-25 10:21:05 -0500
committerPavel Makhov <pmakhov@theoctavegroup.com>2019-11-25 10:21:05 -0500
commit44e9b4e14eebeb9a7a0f9cbc0d7b5adcfc62d80b (patch)
treea1b41982038de455db1d2d58a96560a60fb91f80 /translate-widget/README.MD
parent2e67a1f37e34bb9efdcc809279591bb52d70185d (diff)
Delete secrets.lua as translate widget will receive it as a parameter
Diffstat (limited to 'translate-widget/README.MD')
-rw-r--r--translate-widget/README.MD4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-widget/README.MD b/translate-widget/README.MD
index 9c87ed0..2c783a0 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 **secrets.lua** as value of the ` translate_widget_api_key` variable
+1. Get an [API key](https://translate.yandex.com/developers/keys)
1. Require widget in **rc.lua**:
```lua
@@ -24,7 +24,7 @@ This widget allows quickly translate words or phrases without opening a browser
```lua
awful.key({ modkey }, "c",
- function() translate.show_translate_prompt() end,
+ function() translate.show_translate_prompt('<api-key>') end,
{ description = "run translate prompt", group = "launcher" }),
```