2019-02-05 02:29:08 +01:00
|
|
|
# Run Shell
|
|
|
|
|
2019-03-30 23:29:01 +01:00
|
|
|
Run prompt which is put inside a widget:
|
2019-02-05 02:29:08 +01:00
|
|
|
|
2019-03-31 04:34:28 +02:00
|
|
|
![video](https://imgur.com/ohjAuCQ.mp4)
|
2019-02-05 02:33:17 +01:00
|
|
|
|
2019-02-05 02:37:48 +01:00
|
|
|
## Installation
|
2019-02-05 02:33:17 +01:00
|
|
|
|
|
|
|
1. Clone this repo under **~/.config/awesome/**:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/streetturtle/awesome-wm-widgets.git ~/.config/awesome/
|
|
|
|
```
|
|
|
|
|
2019-03-30 23:29:01 +01:00
|
|
|
1. Require widget at the beginning of **rc.lua**:
|
2019-02-05 02:33:17 +01:00
|
|
|
|
|
|
|
```lua
|
|
|
|
local run_shell = require("awesome-wm-widgets.run_shell.run_shell")
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Use it (don't forget to comment out the default prompt):
|
|
|
|
|
|
|
|
```lua
|
|
|
|
awful.key({modkey}, "r", function () run_shell.launch() end),
|
2019-03-30 23:29:42 +01:00
|
|
|
|