Skip to content

Commit 4941ac5

Browse files
committed
modify readme for icon-control
1 parent 5e3cbf9 commit 4941ac5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

apt-widget/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Features:
99
- update single package
1010
- update multiple packages
1111

12+
## Customizations
13+
14+
It is possible to customize widget by providing a table with the following config parameters:
15+
16+
| Name | Default | Description |
17+
|---|---|---|
18+
| `icon_control` | `false` | Set or unset whether _any_ click on the screen closes the dropdown after it has been opened. |
19+
20+
1221
## Installation
1322

1423
Clone the repo under ~/.config/awesome/ folder, then in rc.lua add the following:
@@ -25,3 +34,11 @@ s.mytasklist, -- Middle widget
2534
...
2635
```
2736

37+
Or use the following.
38+
39+
```lua
40+
...
41+
apt_widget({icon_control=true}),
42+
...
43+
```
44+

0 commit comments

Comments
 (0)