Merge branch 'master' of https://github.com/streetturtle/awesome-wm-widgets
This commit is contained in:
commit
fd08c5b12b
|
@ -20,7 +20,7 @@ This widget allows quickly translate words or phrases without opening a browser
|
||||||
local translate = require("awesome-wm-widgets.translate-widget.translate")
|
local translate = require("awesome-wm-widgets.translate-widget.translate")
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Add a shortcut to run translate prompt (note that we pass an API key from secrets.lua in method call):
|
1. Add a shortcut to run translate prompt:
|
||||||
|
|
||||||
```lua
|
```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" }),
|
||||||
|
|
Loading…
Reference in New Issue