From 4239563581439be21de16642b12e92dbf7615310 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sat, 20 Jan 2018 21:42:28 -0500 Subject: update README --- translate-widget/README.MD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'translate-widget') 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 } ``` + -- cgit v1.2.3