Adding cpu to awesome

This commit is contained in:
Chris Cochrun 2021-02-03 09:50:49 -06:00
parent 2c45b82785
commit 7b173db93d
6 changed files with 18 additions and 15 deletions

View file

@ -20,7 +20,7 @@
;; my splits
(local rules (require "rules"))
(local keybindings (require "keybindings"))
;; (local notifications (require "notifications"))
;; (local notifications (require "notifications")) ||#
;; Error handling
;; Check if awesome encountered an error during startup and fell back to
@ -306,7 +306,7 @@
3 s.batteryspace
:layout wibox.layout.fixed.horizontal}))
(set s.cputext (awful.widget.watch "cat /proc/loadavg | awk '{print $1}'" 10))
(set s.cputext (awful.widget.watch "cpu" 10))
(set s.cpuicon (wibox.widget.textbox " "))
(set s.cpuspace (wibox.widget.textbox " "))