Skip to content

Latest commit

 

History

History

apt_updates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Awesome Window Manager

🚀 APT Updates

Widget Preview

Widget to view updates count in your wibar.


📑 Table of Contents


🔧 Dependencies

Name Description
awesome-git Highly configurable framework window manager.

🚀 Installation

Implementing this widget is as simple as peeling a banana 🍌.

  1. 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/
  1. 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]
  1. 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.


⚙️ Configuration

📑 Parameters

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

💡 Contributors


👤 Credits

Back to top