diff --git a/_widgets/apt-widget.md b/_widgets/apt-widget.md index bb7d1e8..74d3665 100644 --- a/_widgets/apt-widget.md +++ b/_widgets/apt-widget.md @@ -12,6 +12,15 @@ Features: - update single package - update multiple packages +## Customizations + +It is possible to customize widget by providing a table with the following config parameters: + +| Name | Default | Description | +|---|---|---| +| `icon_control` | `false` | Set or unset whether _any_ click on the screen closes the dropdown after it has been opened. | + + ## Installation Clone the repo under ~/.config/awesome/ folder, then in rc.lua add the following: @@ -28,3 +37,11 @@ s.mytasklist, -- Middle widget ... ``` +Or use the following. + +```lua + ... + apt_widget({icon_control=true}), + ... +``` +