From bfabbced849562e4d1e2e6e3e5638685a36395ad Mon Sep 17 00:00:00 2001 From: b0wter Date: Sun, 23 Apr 2023 23:01:13 +0200 Subject: Several minor improvements and enhancements: - can now use `podman` as alternative to `docker` - added option to change the width at which the text breaks - fixed problem with unhandled `CREATED` status --- docker-widget/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docker-widget/README.md') diff --git a/docker-widget/README.md b/docker-widget/README.md index 01c1fbf..dfa6c10 100644 --- a/docker-widget/README.md +++ b/docker-widget/README.md @@ -1,9 +1,9 @@ -# Docker Widget +# Docker / Podman Widget [![GitHub issues by-label](https://img.shields.io/github/issues-raw/streetturtle/awesome-wm-widgets/docker)](https://github.com/streetturtle/awesome-wm-widgets/labels/docker) ![Twitter URL](https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2Fstreetturtle%2Fawesome-wm-widgets%2Fedit%2Fmaster%2Fdocker-widget) -The widget allows to manage docker containers, namely start/stop/pause/unpause: +The widget allows to manage docker and podman containers, namely start/stop/pause/unpause:

@@ -17,6 +17,10 @@ It is possible to customize widget by providing a table with all or some of the |---|---|---| | `icon` | `./docker-widget/icons/docker.svg` | Path to the icon | | `number_of_containers` | `-1` | Number of last created containers to show | +| `executable_name` | `podman` | Name of the executable to use, defaults to `docker` | +| `max_widget_width` | 270 | Maximum width of the widget before the text breaks | + +The `executable_name` allows you to use `Podman` instead of docker. This works since `Podman` is compatible to `docker` in the sense that the syntax and command outputs are identical. ## Installation -- cgit v1.2.3