From af990ac78e4739b27a126c202c4d22634b66ae6a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 22 Jun 2024 01:04:17 +0000 Subject: [PATCH] update from master --- _widgets/apt-widget.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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}), + ... +``` +