2022-01-24 01:17:02 +01:00
---
layout: page
---
# APT widget
Widget which shows a list of APT packages to be updated:
2022-01-24 03:05:55 +01:00
![screenshot ](../awesome-wm-widgets/assets/img/widgets/screenshots/apt-widget/screenshot.gif )
2022-01-24 01:17:02 +01:00
Features:
- scrollable list !!! (thanks to this [post ](https://www.reddit.com/r/awesomewm/comments/isx89x/scrolling_a_layout_fixed_flexed_layout_widget/ ) of reddit)
- update single package
- update multiple packages
2024-06-22 03:04:17 +02:00
## 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. |
2022-01-24 01:17:02 +01:00
## Installation
Clone the repo under ~/.config/awesome/ folder, then in rc.lua add the following:
```lua
local apt_widget = require("awesome-wm-widgets.apt-widget.apt-widget")
...
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
...
apt_widget(),
...
```
2024-06-22 03:04:17 +02:00
Or use the following.
```lua
...
apt_widget({icon_control=true}),
...
```