awesome-wm-widgets/_widgets/ram-widget.md

34 lines
780 B
Markdown
Raw Normal View History

2018-09-15 23:33:42 +02:00
---
layout: page
---
# Ram widget
This widget shows the RAM usage. When clicked another widget appears with more detailed information:
2018-09-25 01:18:45 +02:00
![screenshot]({{'/assets/img/screenshots/ram-widget.gif' | relative_url }}){:.center-image}
2018-09-15 23:33:42 +02:00
## Installation
2018-09-25 01:18:45 +02:00
1. Clone this repo under **~/.config/awesome/**
```bash
git clone https://github.com/streetturtle/awesome-wm-widgets.git ~/.config/awesome/
```
1. Require spotify-widget at the beginning of **rc.lua**:
```lua
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
```
1. Add widget to the tasklist:
```lua
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
...
ram_widget,
...
```