awesome-wm-widgets/docker-widget
streetturtle 20ca94d0c7
Update README.md
2020-08-20 08:06:29 -04:00
..
icons [docker] refactoring 2020-08-16 22:05:26 -04:00
README.md Update README.md 2020-08-20 08:06:29 -04:00
docker.gif [docker] update readme 2020-08-17 17:00:55 -04:00
docker.lua [docker] properly handly number of containers param 2020-08-18 10:05:47 -04:00

README.md

Docker Widget

GitHub issues by-label Twitter URL

The widget allows to manage docker containers, namely start/stop/pause/unpause:

Customization

It is possible to customize widget by providing a table with all or some of the following config parameters:

Name Default Description
icon ./docker-widget/icons/docker.svg Path to the icon
number_of_containers -1 Number of last created containers to show

Installation

Clone the repo under ~/.config/awesome/ and add widget in rc.lua:

local docker_widget = require("awesome-wm-widgets.docker-widget.docker")
...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    	layout = wibox.layout.fixed.horizontal,
        ...
        -- default
        docker_widget(),
        -- customized
        github_activity_widget{
            number_of_containers = 5
        },