Widget to view updates count in your wibar.
Name | Description |
---|---|
awesome-git |
Highly configurable framework window manager. |
Implementing this widget is as simple as peeling a banana 🍌.
- Clone this repository and copy the files to the Awesome WM configuration directory. eg:
git clone https://github.com/paodelonga/awesome-widgets.git
cp --recursive --parents awesome-widgets/widgets/ ~/.config/awesome/
- Then add the following lines to your rc.lua
-- Importing the widget
local widgets = require("widgets")
-- Configure the Widget
local apt_updates = widgets.apt_updates({
timeout = 900,
font = {
name = "Font Name",
color = "HEX Color Code"
}
})
-- Add the Widget to your Wibar
s.wibar:setup({
apt_updates
})
--[>D]
-
Then go to the init.lua file and uncomment the following line
-- To activate a Widget move the line out of the comment block. return { --[[ - apt_updates = require("widgets.apt_updates") --]] + apt_updates = require("widgets.apt_updates") } --[>D]
Check the configuration category to learn more about the widgets parameters and settings.
Now the widget has been installed, to initialize just restart your environment.
Parameter | Description | Type | Value | Default |
---|---|---|---|---|
timeout |
Check execution interval | number |
seconds |
900 |
font |
Table containing information about the source | table |
table |
|
font.name |
Name of the font to be used | string |
font-family |
Noto Mono 9 |
font.color |
Color of the font | string |
hex color |
#FAFAFA |