awesome-wm-widgets/apt-widget
streetturtle 09feeaaafd
Merge pull request #448 from Ryuno-Ki/weather-migration
feat: migrate weather.lua to use WeatherAPI
2024-07-06 17:33:12 -04:00
..
icons [apt] new widget 2021-05-05 22:16:08 -04:00
screenshots [apt] new widget 2021-05-05 22:16:08 -04:00
README.md modify readme for icon-control 2024-06-13 14:56:31 -04:00
apt-widget.lua chore: remove dead code 2024-06-19 08:17:19 +02:00

README.md

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}),
		...