diff options
author | Pavel Makhov <pmakhov@touchtunes.com> | 2019-04-03 09:11:37 -0400 |
---|---|---|
committer | Pavel Makhov <pmakhov@touchtunes.com> | 2019-04-03 09:11:37 -0400 |
commit | ed33b1dcf36465ae79352bfca6a66f04fae84b5a (patch) | |
tree | 4ad3ef57e9e64007dea321c2940789d843d8fac2 | |
parent | a1636558f539637b17ebbc2ebcd8677d93027319 (diff) |
Fix #77
-rw-r--r-- | brightnessarc-widget/brightnessarc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brightnessarc-widget/brightnessarc.lua b/brightnessarc-widget/brightnessarc.lua index 53ea218..7633218 100644 --- a/brightnessarc-widget/brightnessarc.lua +++ b/brightnessarc-widget/brightnessarc.lua @@ -37,7 +37,7 @@ local brightnessarc = wibox.widget { } local update_widget = function(widget, stdout) - local brightness_level = string.match(stdout, "(%d?%d?)") + local brightness_level = string.match(stdout, "(%d?%d?%d?)") brightness_level = tonumber(string.format("% 3d", brightness_level)) widget.value = brightness_level / 100; |