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

780 B

layout
page

Ram widget

This widget shows the RAM usage. When clicked another widget appears with more detailed information:

![screenshot]({{'/assets/img/screenshots/ram-widget.gif' | relative_url }}){:.center-image}

Installation

  1. Clone this repo under ~/.config/awesome/

    git clone https://github.com/streetturtle/awesome-wm-widgets.git ~/.config/awesome/
    
  2. Require spotify-widget at the beginning of rc.lua:

    local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
    
  3. Add widget to the tasklist:

    s.mytasklist, -- Middle widget
        { -- Right widgets
            layout = wibox.layout.fixed.horizontal,
            ...
            ram_widget,
            ...