mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-15 19:48:04 +01:00
.. | ||
icons | ||
docker.gif | ||
docker.lua | ||
README.md |
Docker Widget
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
docker_widget{
number_of_containers = 5
},