A network-manager widget for Awesome WM
- Lightweight (no constant polling but event based updates)
- Support multiple devices
- Toggle between IP4/IP6 display on left click
- Additional details on tooltip
1.Clone in your config directory (~/.config/awesome/
)
cd ~/.config/awesome/
git clone https://github.com/davlord/awesome-networkmanager-widget.git
2.Add to your wibar widgets (~/.config/awesome/rc.lua
)
local network_widget = require("awesome-networkmanager-widget")
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
network_widget(),
wibox.widget.systray(),
mytextclock,
s.mylayoutbox,
},
}
- Reload Awesome WM