awesome-wm-widgets/run-shell/README.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

2019-02-05 02:29:08 +01:00
# Run Shell
2019-02-05 21:40:39 +01:00
Blurs / pixelates background and shows widget with run prompt:
2019-02-05 02:29:08 +01:00
2019-02-05 22:04:21 +01:00
![screenshot](./blur.png)
![screenshot](./pixelate.png)
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
2019-02-05 21:40:39 +01:00
1. To blur / pixelate the background this widget used [ffmpeg](https://www.ffmpeg.org/) and [frei0r](https://frei0r.dyne.org/) plugins (if you want to pixelate the background), which you need to install. Installation of those depends on your distribution, for ffmpeg just follow the installation section of the site, for frei0r I was able to install it by simply running
2019-02-05 21:40:08 +01:00
```
sudo apt-get install frei0r-plugins
```
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/
```
1. Require weather widget at the beginning of **rc.lua**:
```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-02-05 02:37:48 +01:00
```
:warning: I am not 100% sure but it may (memory) leak. If awesome uses lots of RAM just reload config (Ctrl + Mod4 + r).