diff options
author | streetturtle <streetturtle@gmail.com> | 2018-01-20 21:42:28 -0500 |
---|---|---|
committer | streetturtle <streetturtle@gmail.com> | 2018-01-20 21:42:28 -0500 |
commit | 4239563581439be21de16642b12e92dbf7615310 (patch) | |
tree | 217c3c13f5b1834f88a003490d8913ee9aff5e43 /translate-widget | |
parent | ed3bbecb953c4b8166ca180b5fd5d49fa639114c (diff) |
update README
Diffstat (limited to 'translate-widget')
-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 e13b1e4..498b36e 100644 --- a/translate-widget/README.MD +++ b/translate-widget/README.MD @@ -12,7 +12,8 @@ This widget allows quickly translate words or phrases without opening a browser ## Installation -1. Get an [API key](https://translate.yandex.com/developers/keys) and paste it **secrets.lua** +1. Clone repo under **~/.config/awesome/** +1. Get an [API key](https://translate.yandex.com/developers/keys) and paste it in **secrets.lua** 1. Require widget and secrets in **rc.lua**: ```lua @@ -20,7 +21,7 @@ This widget allows quickly translate words or phrases without opening a browser local translate = require("awesome-wm-widgets.translate-widget.translate") ``` -1. Create a translate prompt (just under `mypromptbox`): +1. Create a translate prompt, just under `mypromptbox`: ```lua s.mypromptbox = awful.widget.prompt() @@ -54,3 +55,4 @@ This widget allows quickly translate words or phrases without opening a browser end } ``` + |