summaryrefslogtreecommitdiff
path: root/cpu-widget
diff options
context:
space:
mode:
authorpmakhov <pavel.makhov@savoirfairelinux.com>2017-12-15 09:11:44 -0500
committerpmakhov <pavel.makhov@savoirfairelinux.com>2017-12-15 09:11:44 -0500
commit1aefb814ef7ecbbef1d40f916a47efe7b7218af5 (patch)
treea5ae224453258cf16275d5a2176f1fa45493c702 /cpu-widget
parent3f007ecc7625e3f5e7d8469d493bd908daf0b334 (diff)
add header
Diffstat (limited to 'cpu-widget')
-rw-r--r--cpu-widget/cpu-widget.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/cpu-widget/cpu-widget.lua b/cpu-widget/cpu-widget.lua
index 70bf03d..c738a95 100644
--- a/cpu-widget/cpu-widget.lua
+++ b/cpu-widget/cpu-widget.lua
@@ -1,3 +1,13 @@
+-------------------------------------------------
+-- CPU Widget for Awesome Window Manager
+-- Shows the current CPU utilization
+-- More details could be found here:
+-- https://github.com/streetturtle/awesome-wm-widgets/tree/master/cpu-widget
+
+-- @author Pavel Makhov
+-- @copyright 2017 Pavel Makhov
+-------------------------------------------------
+
local watch = require("awful.widget.watch")
local wibox = require("wibox")
@@ -11,7 +21,7 @@ local cpugraph_widget = wibox.widget {
widget = wibox.widget.graph
}
--- mirros and push up a bit
+-- mirros and pushs up a bit
local cpu_widget = wibox.container.margin(wibox.container.mirror(cpugraph_widget, { horizontal = true }), 0, 0, 0, 2)
local total_prev = 0