From 30ee4c892fdfce09fb1ac9e1904eda649623fb1e Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Mon, 10 Jan 2022 20:57:36 +0100 Subject: [PATCH] [AWESOME] Add CPU, RAM, NET, MPRIS widget --- configs/awesome/rc.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/awesome/rc.lua b/configs/awesome/rc.lua index 86b3d48..e23f1b7 100644 --- a/configs/awesome/rc.lua +++ b/configs/awesome/rc.lua @@ -74,6 +74,10 @@ mykeyboardlayout = awful.widget.keyboardlayout() mytextclock = wibox.widget.textclock() local volume_widget = require('awesome-wm-widgets.volume-widget.volume') +local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget") +local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget") +local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed") +local mpris_widget = require("awesome-wm-widgets.mpris-widget") -- Create a wibox for each screen and add it local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) @@ -180,7 +184,11 @@ awful.screen.connect_for_each_screen(function(s) s.mytasklist, -- Middle widget { -- Right widgets layout = wibox.layout.fixed.horizontal, + mpris_widget(), volume_widget(), + cpu_widget({ width = 40 }), + ram_widget(), + net_speed_widget(), mykeyboardlayout, wibox.widget.systray(), mytextclock,