awesome-wm-widgets/apt-widget/README.md
2024-06-13 14:56:31 -04:00

1,018 B

APT widget

Widget which shows a list of APT packages to be updated:

screenshot

Features:

  • scrollable list !!! (thanks to this post of reddit)
  • 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:

local apt_widget = require("awesome-wm-widgets.apt-widget.apt-widget")

...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    	layout = wibox.layout.fixed.horizontal,
		...
		apt_widget(),
		...

Or use the following.

		...
		apt_widget({icon_control=true}),
		...